[Issue 13847] CTFE internal error: dottype

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Dec 14 14:29:32 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13847

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/57091af50ba5d531a34770bb810df26eafe58812
fix Issue 13847 - CTFE internal error: dottype

Handle function values in each CTFE steps, then simplify
CallExp::interpret() and we need to interpret CallExp::e1 just only once.

After all, DotTypeExp will be one of the function values in CTFE, and
CallExp::interpret can distinguish 'virtual call' and 'direct call' properly.

Also simplify ThisExp::interpret because pthis is always interpreted to a
literal expression (TOKstructliteral or TOKclassreference).

https://github.com/D-Programming-Language/dmd/commit/8597cda969db9221350f28903a85fe88fef26821
Merge pull request #4208 from 9rnsr/fix13847

Issue 13847 - CTFE internal error: dottype

--


More information about the Digitalmars-d-bugs mailing list