https://issues.dlang.org/show_bug.cgi?id=13079
--- Comment #2 from Daniel Čejchan <czda...@gmail.com> --- (In reply to hsteoh from comment #1) > Are you sure that's valid syntax? Don't you mean this: > ---- > class Test { > mixin(string func() { > return ""; > }); > } > ---- > The diagnostic should be improved, though. The current error message doesn't > make sense. That one can't be compiled either. --