Bug 4084 – Ignored missing main() closing bracket

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2010-04-12T12:02:00Z
Last change time
2015-06-09T05:13:46Z
Keywords
accepts-invalid, patch
Assigned to
nobody
Creator
bearophile_hugs

Attachments

IDFilenameSummaryContent-TypeSize
610patch.diffenforce closing brace after opening brace in statementtext/plain399

Comments

Comment #0 by bearophile_hugs — 2010-04-12T12:02:43Z
This program compiles and runs with no errors with dmd 2.043 (note the missing closing bracket): void main() {
Comment #1 by ellery-newcomer — 2010-04-12T14:50:29Z
Created attachment 610 enforce closing brace after opening brace in statement one line fix (yawn)
Comment #2 by gide — 2010-04-24T02:41:46Z
*** Issue 4110 has been marked as a duplicate of this issue. ***
Comment #3 by bugzilla — 2010-05-31T23:41:58Z