June 24, 2004 Illegal operation: property syntax and argument defaults | ||||
---|---|---|---|---|
| ||||
The compiler crashes with an illegal operation when given this: class Test { static Test test(int q=0) { return null; } } Test foo() { return Test.test; } (it makes no difference whether Test.test is static or not) -- andy |
Copyright © 1999-2021 by the D Language Foundation