Änderungen

Summary

  1. fixed module constructor calls (commit: 8e9dfd4) (details)
Commit 8e9dfd4d8689e2a01a5f677a97bc0d69383c2fe7 by peter.peq
fixed module constructor calls

the problem was that if an intermediate module had no constructor the
upstream constructors would not get called.

Or if a module had two constructors, then upstream constructors would be
called twice.

No it is enforced that every module has exactly one constructor.
(A default is generated, if no constructor is given)
(commit: 8e9dfd4)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/translation/imtranslation/ClassTranslator.java (diff)
The file was modifiedde.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/ModuleTests.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/ModuleExpander.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/WurstValidator.java (diff)