Bug 3542 – Unittest block does not require a closing bracket

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-11-22T08:50:00Z
Last change time
2015-06-09T01:27:03Z
Keywords
accepts-invalid
Assigned to
nobody
Creator
snake.scaly

Comments

Comment #0 by snake.scaly — 2009-11-22T08:50:05Z
The following one-liner: -----8<------ unittest { -----8<------ compiles successfully with DMD 2.036. This is a regression from 2.031.
Comment #1 by yebblies — 2011-06-12T15:47:49Z
Correctly errors in dmd 2.053