[dmd-beta] D 1.075 and 2.060 betas 2
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Jul 30 13:16:37 PDT 2012
On 31-Jul-12 00:11, Nick Sabalausky wrote:
> I'm getting a weird error:
>
> Error: function goldie.token.Token.line () is not callable using
> argument types ()
>
> A no-arg function isn't callable with no args?
>
> I'm working on getting a small test case.
>
I suspect constness (or purity, safety, etc.) mismatch at work, as it
does spawn this kind of shitty diagnostic at times.
e.g. 'this' pointer is const in a given context thus it can't call
non-const function line.
--
Dmitry Olshansky
More information about the dmd-beta
mailing list