ryobg / JContainers

JSON-based data structures for Papyrus - the TESV Skyrim SE scripting language
MIT License
107 stars 23 forks source link

JContainers is incompatible with Caprica language extensions #119

Open XxX-Daniil-underscore-Zaikin-XxX opened 1 month ago

XxX-Daniil-underscore-Zaikin-XxX commented 1 month ago

Caprica can extend Papyrus with a few neat features, such as For loops and Switches. However, the default parameter in many JContainers functions interferes with the default token for Switch statements, and the compiler throws errors.

A possible solution would be to replace instances of default with defaultValue, but it would also be disastrous for any code that relies on JContainers.

XxX-Daniil-underscore-Zaikin-XxX commented 3 weeks ago

Will be closed by: https://github.com/Orvid/Caprica/pull/36