Browse Source

Recursively check conformance of used action language

Yentl Van Tendeloo 7 years ago
parent
commit
c27f857578
1 changed files with 1 additions and 4 deletions
  1. 1 4
      bootstrap/conformance_scd.alc

+ 1 - 4
bootstrap/conformance_scd.alc

@@ -277,10 +277,7 @@ String function conformance_scd(model : Element):
 
 		while (set_len(complex_instances) > 0):
 			complex_instance = set_pop(complex_instances)
-
-			// TODO check conformance of remote AL code (possibly recurse?)
-			result = "OK"
-
+			result = conformance_scd(import_node(model["model"][complex_instance]))
 			if (result != "OK"):
 				return "ActionLanguage attribute doesn't match for: " + complex_instance + "\n Message: " + result!