Bug 13438 – Anonymous class instances created at compile-time get no vtable generated

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-08T04:08:18Z
Last change time
2024-12-13T18:26:20Z
Assigned to
No Owner
Creator
Jakob Ovrum
Moved to GitHub: dmd#18879 →

Comments

Comment #0 by jakobovrum — 2014-09-08T04:08:18Z
--- const c = new class {}; void main(){} --- Output with DMD/ld: --- /d883/f491.o:(.data+0x0): undefined reference to `_D4f49112__anonclass16__vtblZ' collect2: error: ld returned 1 exit status --- errorlevel 1 --- http://dpaste.dzfl.pl/5c1cdae3c2aa
Comment #1 by robert.schadek — 2024-12-13T18:26:20Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18879 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB