A strange DMD error
Imperatorn
johan_forsberg_86 at hotmail.com
Tue Nov 1 16:06:44 UTC 2022
On Tuesday, 1 November 2022 at 15:49:54 UTC, Keivan Shah wrote:
> On Tuesday, 1 November 2022 at 15:42:43 UTC, Imperatorn wrote:
>> On Tuesday, 1 November 2022 at 15:40:04 UTC, Keivan Shah wrote:
>>> [...]
>>
>> Could be there's some restriction in DMD on number of
>> arguments.
>>
>> May I ask if this was just an experiment? I hope you're not
>> having code like that in the wild 🙏
>
> Possible, but I think I have had code with more arguments than
> this and it has worked 😅
>
> Unfortunately, not an experiment. Although have replaced the
> types so seems silly now, this is part of my constructor for a
> huge co-coordinator class that takes too many configurable
> start time parameters and so need to pass these many arguments.
>
> Keivan
Hehe.
One simple thing you could do is to create a struct instead for
you params and pass that
More information about the Digitalmars-d-learn
mailing list