Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IlisMeta07-Transfer generation #131

Closed
infogrips opened this issue Jul 24, 2024 · 1 comment
Closed

IlisMeta07-Transfer generation #131

infogrips opened this issue Jul 24, 2024 · 1 comment
Milestone

Comments

@infogrips
Copy link

Tested version: ili2c 5.5.3

Compiler fails to generate IlisMeta07-Transfer with following model:

INTERLIS 2.3;

MODEL test AT "https://test.ch" VERSION "2024-07-24" =

TOPIC testTopic =

	/* Typklassen */

	CLASS testClass =
		Test1 : TEXT*80;
		Test2 : TEXT*12;
		
		MANDATORY CONSTRAINT
			NOT(DEFINED(Test1)) OR
            NOT(DEFINED(Test2)) OR
            (
               DEFINED(Test1) AND
               DEFINED(Test2)
            );
	END testClass;
	

END testTopic;

END test.

Output:

failed to generate output
java.lang.IllegalArgumentException: Unknown subclass: class ch.interlis.ili2c.metamodel.Expression$Subexpression
Unknown subclass: class ch.interlis.ili2c.metamodel.Expression$Subexpression
--- compiler run failed 2024-07-24 10:31:55

@beistehen
Copy link
Contributor

IlisMeta07 is deprecated, see #113.

@claeis claeis added this to the 5.5.4 milestone Jul 29, 2024
@claeis claeis closed this as completed Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants