Bug 3545 – abstract keyword inside function causes error

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2009-11-23T11:58:56Z
Last change time
2019-10-23T10:43:41Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
Adam Chrapkowski

Comments

Comment #0 by adam.chrapkowski — 2009-11-23T11:58:56Z
When a class is located inside function and its declaration starts from abstract keyword then occurs compilation error. For example: void func(){ // found 'abstract' instead of statement abstract final class A{ } // ok final abstract class A{ } }
Comment #1 by henning — 2013-06-10T17:01:09Z
Works with 2.063.
Comment #2 by andrej.mitrovich — 2013-06-10T17:10:43Z
(In reply to comment #1) > Works with 2.063. Please note this is a D1 issue.
Comment #3 by razvan.nitu1305 — 2019-10-23T10:43:41Z
Closing as D1 is no longer supported.