http://d.puremagic.com/issues/show_bug.cgi?id=10482
Summary: Regression (2.063): Compiler allows constant global functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-06-26 17:42:58 PDT --- ----- const int * foo(); void main() { } ----- 2.062: $ dmd test.d > test.d(3): Error: function test.foo without 'this' cannot be const/immutable 2.063: $ dmd test.d > I'm not sure how this happened, I remember we had a test-suite covering these. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------