http://d.puremagic.com/issues/show_bug.cgi?id=4062
Summary: can call method without this pointer inside is() Product: D Version: 1.057 Platform: Other OS/Version: All Status: NEW Keywords: accepts-invalid, rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: nfx...@gmail.com --- Comment #0 from nfx...@gmail.com 2010-04-05 03:47:40 PDT --- The following compiles. Not sure if this is a bug or a feature, so I'm reporting this as a bug. Close as invalid if it's actually a feature. class X { void x(int a) { } } void main() { static assert(is( typeof({ X.x(1); }) )); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------