October 27, 2019 "Mixin is not defined" error when trying to use template mixins | ||||
---|---|---|---|---|
| ||||
There's a template mixin in my dimage project's new version in base.d, and when I try to access it from another file I get two errors: undefined identifier `ChunkyAccess4bit`, did you mean template `ChunkyAccess4Bit()`? and mixin `dimage.tga.TGA.ChunkyAccess4bit!()` is not defined Should I put the template into the base class of TGA (Image) instead of keeping it outside of that? |
October 28, 2019 Re: "Mixin is not defined" error when trying to use template mixins | ||||
---|---|---|---|---|
| ||||
Posted in reply to solidstate1991 | On Sunday, 27 October 2019 at 23:54:41 UTC, solidstate1991 wrote:
> undefined identifier `ChunkyAccess4bit`, did you mean template `ChunkyAccess4Bit()`?
Read it carefully again.... bit vs Bit, simple case typo here.
|
Copyright © 1999-2021 by the D Language Foundation