Created
September 27, 2010 21:49
-
-
Save madadam/599932 to your computer and use it in GitHub Desktop.
dsss @Property link bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main.d] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module foo; | |
string foo() { | |
return "foo"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module main; | |
import std.stdio; | |
import foo; | |
// uncomment this to make dsss fail. | |
// @property | |
string bar() { | |
return "bar"; | |
} | |
void main() { | |
writeln(foo.foo()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment