D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4084 - Ignored missing main() closing bracket
Summary: Ignored missing main() closing bracket
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: accepts-invalid, patch
: 4110 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-04-12 12:02 UTC by bearophile_hugs
Modified: 2015-06-09 05:13 UTC (History)
2 users (show)

See Also:


Attachments
enforce closing brace after opening brace in statement (399 bytes, patch)
2010-04-12 14:50 UTC, Ellery Newcomer
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2010-04-12 12:02:43 UTC
This program compiles and runs with no errors with dmd 2.043 (note the missing closing bracket):

void main() {
Comment 1 Ellery Newcomer 2010-04-12 14:50:29 UTC
Created attachment 610 [details]
enforce closing brace after opening brace in statement

one line fix (yawn)
Comment 2 Gide Nwawudu 2010-04-24 02:41:46 UTC
*** Issue 4110 has been marked as a duplicate of this issue. ***
Comment 3 Walter Bright 2010-05-31 23:41:58 UTC
http://www.dsource.org/projects/dmd/changeset/511