From 77db0e5185e5a55a10aa4d68149c3daf8c93480c Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 22 Sep 2005 08:51:23 +0000 Subject: [PATCH] + length(); git-svn-id: trunk@1154 - --- compiler/ninl.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/ninl.pas b/compiler/ninl.pas index e5284b8d56..24a6989bf5 100644 --- a/compiler/ninl.pas +++ b/compiler/ninl.pas @@ -1441,6 +1441,11 @@ implementation set_varstate(left,vs_used,[vsf_must_be_valid]); case left.resulttype.def.deftype of + variantdef: + begin + inserttypeconv(left,cansistringtype); + end; + stringdef : begin { we don't need string convertions here }