digitalmars.D.learn - "Mixin is not defined" error when trying to use template mixins
- solidstate1991 (9/9) Oct 27 2019 There's a template mixin in my dimage project's new version in
- Adam D. Ruppe (2/4) Oct 27 2019 Read it carefully again.... bit vs Bit, simple case typo here.
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?
Oct 27 2019
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.
Oct 27 2019