Differences From Artifact [2816a291e16d0986]:
- File
polemy/valueconv.d
- 2010-11-23 13:55:15 - part of checkin [2134cd44cc] on branch trunk - further clean-up for polemy2d (user: kinaba) [annotate]
To Artifact [94ac916389440918]:
- File
polemy/valueconv.d
- 2010-11-23 18:28:47 - part of checkin [ba11f1d551] on branch trunk - fixed the macro scoping rules concerning non-macro let (user: kinaba) [annotate]
62 62 {
63 63 if(auto t = cast(Table)_v)
64 64 {
65 65 LexPosition pos = extractPos(t);
66 66
67 67 StrValue typ = cast(StrValue) t.access!StrValue(ValueLayer, "is");
68 68 if( typ is null )
69 - throw genex!RuntimeException(text(`Invalid AST (no "is" field): `, _v));
69 + throw genex!RuntimeException(callpos, text(`Invalid AST (no "is" field): `, _v));
70 70
71 71 foreach(AT; ListOfASTTypes)
72 72 if(typ.data == typeid(AT).name.split(".")[$-1].tolower())
73 73 {
74 74 typeof(AT.tupleof) mems;
75 75 foreach(i,m; mems)
76 76 {