Is there any reason one cannot register multiple formats for initialization lists?
I attempted to do so and didn't get any registration errors, but it ended up replacing the first one I registered.
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Is there any reason one cannot register multiple formats for initialization lists?
I attempted to do so and didn't get any registration errors, but it ended up replacing the first one I registered.
I haven't implement support for multiple list patterns yet. It will require quite a bit more work to get this supported, as the compiler will need to try to determine which one should be used based on what it sees in the script.
For now I'll add a check for this in the code so the engine doesn't silently accept when the application tries to register multiple list factories.