April 29, 2023

Hi All,

Request your help, while trying to compile the hunt-examples/website-basic, I am facing with the below error(https://github.com/huntlabs/hunt-examples/tree/master/website-basic).

Error

C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(54,102): Error: undefined identifier `arg`
C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(51,106): Error: undefined identifier `arg`
C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(54,108): Error: undefined identifier `arg`
C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(51,108): Error: undefined identifier `arg`

From,
Vino.B

January 18

On Saturday, 29 April 2023 at 18:05:20 UTC, Vino B wrote:

>

Hi All,

Request your help, while trying to compile the hunt-examples/website-basic, I am facing with the below error(https://github.com/huntlabs/hunt-examples/tree/master/website-basic).

Error

C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(54,102): Error: undefined identifier `arg`
C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(51,106): Error: undefined identifier `arg`
C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(54,108): Error: undefined identifier `arg`
C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\validation\DeclDef.d-mixin-41(51,108): Error: undefined identifier `arg`

From,
Vino.B

Maybe, it's a bug in the newer compiler. See https://issues.dlang.org/show_bug.cgi?id=24344.

It's fixed in hunt-validation. See https://github.com/huntlabs/hunt-validation/commit/c82f872e1042c80fe20ec85097f9003cc0f310e1