Bug 10339 – ICE when __MODULE__ token is found but module declaration is missing

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-11T15:16:00Z
Last change time
2013-07-29T19:30:32Z
Keywords
ice, pull
Assigned to
andrej.mitrovich
Creator
mk

Comments

Comment #0 by mk — 2013-06-11T15:16:58Z
filename: modbug.d //module modbug; void main() { auto name = __MODULE__; } Notice: module keyword must not be used DMD32 D Compiler v2.064-devel-19a54f8
Comment #1 by andrej.mitrovich — 2013-06-11T16:53:18Z
Also in 2.063, which introduced the feature.
Comment #2 by andrej.mitrovich — 2013-06-11T17:07:55Z
Comment #3 by k.hara.pg — 2013-07-29T19:30:32Z
*** This issue has been marked as a duplicate of issue 10695 ***