The error message coming out of dmd could be better. I suggest recognizing -> and :: in the lexer, and saying something like:
"The '->' operator is not in D, did you mean '.'?" Anyone want to do a PR for this? (Should be pretty straightforward.)
The error message coming out of dmd could be better. I suggest recognizing -> and :: in the lexer, and saying something like:
"The '->' operator is not in D, did you mean '.'?" Anyone want to do a PR for this? (Should be pretty straightforward.)