www.digitalmars.com         C & C++   DMDScript  

D - more issues in 0.76 - set2.zip

this archive contains the following test programs.

still having problems with wchar[]'s

I think Perl/Lua have the right idea here where expr's are evaluateed in the
context that they are to be returned in.
i.e.
int a = b;  (b is evaluated as an int). 
as should here passing a "" string through a function gets it into the right
context.

chartest.d : "" strings not evaluated in the '=' context
chartest.d(6): cannot implicitly convert char[3] to wchar

chartest2.d : "" strings context resolved if passed through a no-op function

chartest3.d : ~ char[] and ~ char problems
chartest3.d(26): incompatible types for (("${") ~ (label[i..i + 1])): 'char[]'
and 'wchar[]'

is this the right behaviour for the interaction between operator new and opCall
?

opcalltest.d : is this the right precidence for op new ?
opcalltest.d(18): found '(' when expecting ';'
opcalltest.d(18): found ')' when expecting ';'

some type info's are missing ....
and what about double[][][][][][][][][] ?
I think Java have the right approach here T[] is an Object therefore its
typeinfo is efectivle that of the class T[] (another reason to change the array
semantics)

titest.d : Missing typeinfo's
C:\dmd\bin\..\..\dm\bin\link.exe titest,,,user32+kernel32/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

titest.obj(titest)
Error 42: Symbol Undefined __init_10TypeInfo_b
titest.obj(titest)
Error 42: Symbol Undefined __init_11TypeInfo_Ab
titest.obj(titest)
Error 42: Symbol Undefined __init_11TypeInfo_Af
titest.obj(titest)
Error 42: Symbol Undefined __init_11TypeInfo_Ad
titest.obj(titest)
Error 42: Symbol Undefined __init_12TypeInfo_AAb
titest.obj(titest)
Error 42: Symbol Undefined __init_12TypeInfo_AAf
titest.obj(titest)
Error 42: Symbol Undefined __init_12TypeInfo_AAd
titest.obj(titest)
Error 42: Symbol Undefined __init_12TypeInfo_AAi
--- errorlevel 8


problems when enabling inlining ..

deltest.d : unable to compile with -inline
deltest.d(26): function updateFrame cannot access frame of function
getDelegateFor
Dec 06 2003