-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90608df
commit 41b28fb
Showing
141 changed files
with
1,150 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ pycodestyle>=2.10 | |
pylint>=2.17 | ||
coverage>=7.2 | ||
sphinx>=7.0 | ||
pyvcg==1.0.5 | ||
cvc5==1.0.8 | ||
pyvcg[api]==1.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
values = ["one", "two", "three"] | ||
^^^^^^^ array-length/foo.trlc:4: error: this array requires at most 2 elements (3 provided) | ||
values = ["one"] | ||
^ array-length/foo.trlc:8: error: this array requires at least 2 elements (only 1 provided) | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 2 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
arr = [40, 41, 42, 43, 44, 45] | ||
^ array-membership-1/foo.trlc:10: check warning: 42 is not in array | ||
arr = [40, 41, 42, 43, 44, 45] | ||
^ array-membership-1/foo.trlc:10: check warning: 42 is in array | ||
arr = [1, 2, 3] | ||
^ array-membership-1/foo.trlc:22: check warning: 42 is not in array | ||
arr = [1, 2, 3] | ||
^ array-membership-1/foo.trlc:22: check warning: 42 is in array | ||
arr = [] | ||
^ array-membership-1/foo.trlc:34: check warning: 42 is not in array | ||
arr = [] | ||
^ array-membership-1/foo.trlc:34: check warning: 42 is in array | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 6 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ival in arr, warning "potato" | ||
^^^^ array-membership-2/foo.rsl:9: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kitten in arr, warning "does not reference kitten" | ||
^^^^^^ array-membership-3/foo.rsl:10: error: unknown symbol kitten | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
arr = [1, 2, 3] | ||
^ arrays-1/example.trlc:8: check error: potato | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
arr[0] == len(arr), "potato", arr | ||
^^^ arrays-2/example.rsl:8: error: expression 'arr' has type Integer, which is not an array | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks MyType { | ||
^^^^^^ base-types/checks.check:4: issue: move this check block into bar.rsl:1 [deprecated_feature] | ||
int_nok = 24 | ||
^^ base-types/instances.trlc:10: check error: int must be 42 | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 warning(s) and 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
len = 2 | ||
^ builtin-1/example.trlc:10: check warning: potato | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
len == trlc:len(str), warning "potato", len | ||
^^^^^^^^ builtin-2/legacy.rsl:9: issue: please use function len instead [deprecated_feature] | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
checks { | ||
^ check-wo-type/checks.check:3: error: expected identifier, encountered opening brace '{' instead | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
checks T { | ||
^ checks-1/foo.check:3: issue: move this check block into foo.rsl:1 [deprecated_feature] | ||
a < b, "a must be less than b" | ||
^ checks-1/foo.check:4: issue: expression could be null [vcg-evaluation-of-null] | ||
| example record_type triggering error: | ||
| T bad_potato { | ||
| a = 0 | ||
| /* b is null */ | ||
| } | ||
T Test_1 { | ||
^^^^^^ checks-1/foo.trlc:3: error: rhs of check a < b (foo.check:4) must not be null | ||
T Test_2 { | ||
^^^^^^ checks-1/foo.trlc:7: check error: a must be less than b | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 2 warning(s) and 2 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
checks T { | ||
^ checks-2/foo.check:3: issue: move this check block into foo.rsl:1 [deprecated_feature] | ||
T Test_1 { | ||
^^^^^^ checks-2/foo.trlc:3: check error: please define b | ||
a = 5 | ||
^ checks-2/foo.trlc:8: check error: a must be less than b | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 warning(s) and 2 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks T { | ||
^ checks-3/foo.check:3: issue: move this check block into foo.rsl:1 [deprecated_feature] | ||
a = 5 | ||
^ checks-3/foo.trlc:8: check error: a must be less than b | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 warning(s) and 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
checks T { | ||
^ checks-4/foo.check:3: issue: move this check block into foo.rsl:1 [deprecated_feature] | ||
(forall v in values => v != foo), "value cannot be same as value of foo", values | ||
^^^^^^ checks-4/foo.check:4: issue: expression could be null [vcg-evaluation-of-null] | ||
| example record_type triggering error: | ||
| T bad_potato { | ||
| /* foo is null */ | ||
| /* values is null */ | ||
| } | ||
T Test_1 { | ||
^^^^^^ checks-4/foo.trlc:3: error: values in quantified expression (forall v in values => v != foo) (foo.check:4) must not be null | ||
values = ["x", "kitten", "z"] | ||
^ checks-4/foo.trlc:9: check error: value cannot be same as value of foo | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 2 warning(s) and 2 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Requirement Potato { | ||
^^^^^^ checks-5/foo.trlc:3: check error: linkage incorrect | ||
| You must either link this requirement to other requirements | ||
| using the derived_from attribute, or you need to set | ||
| top_level to true. | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
true, """this | ||
^^^^^^^ checks-6/foo.rsl:6: error: error message must not contain a newline | ||
true, """this | ||
^^^^ checks-6/foo.rsl:6: issue: expression is always true [vcg-always-true] | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 warning(s) and 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
T foo { | ||
^^^ combined-rsl-file-1/example.trlc:3: check error: potato | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
package Example | ||
^^^^^^^ combined-rsl-file-2/b.rsl:1: error: duplicate definition, previous definition at a.rsl:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 0 model(s), 0 check(s) and 1 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
package Foo | ||
^^^ cross-refs-in-errors/potato/foo.rsl:1: error: duplicate definition, previous definition at kitten/bar.rsl:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type MyType2 extends MyType3 { | ||
^^^^^^^ cyclic-inheritance/bar.rsl:5: error: unknown symbol MyType3 | ||
type MyType3 extends MyType2 { | ||
^^^^^^^ cyclic-inheritance/bar.rsl:9: error: unknown symbol MyType2 | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 2 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
> Bar depends on Baz | ||
> Baz depends on Bork | ||
> Bork depends on Bar | ||
cyclic-packages/bar.rsl: error: circular inheritence | ||
Processed 4 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
D = 5.0 | ||
^^^ decimal-1/foo.trlc:9: check warning: D is not less that I | ||
D = -5.0 | ||
^ decimal-1/foo.trlc:14: check warning: D is not less that I | ||
D = -5.0 | ||
^ decimal-1/foo.trlc:14: check warning: D is not positive | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 3 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
D in 0 .. 10, warning "potato", D | ||
^ decimal-2/foo.rsl:8: error: expected expression of type Decimal, got Integer instead | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
D in 0.0 .. 10, warning "potato", D | ||
^^ decimal-3/foo.rsl:8: error: expected expression of type Decimal, got Integer instead | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
0.0 + D + D + D == 3.0 * D, warning "rounding error", D | ||
^^ decimal-6/foo.rsl:8: issue: expression is always true [vcg-always-true] | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
D ** 2 >= 0.0, warning "potato", D | ||
^^ decimal-7/foo.rsl:8: issue: expression is always true [vcg-always-true] | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
D == I, warning "not equal", D | ||
^^ decimal-8/foo.rsl:9: error: type mismatch: Decimal and Integer do not match | ||
Processed 1 model(s), 0 check(s) and 0 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 1 model(s), 0 check(s) and 2 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found no issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Foo | ||
^^^ duplicate-imports/bar.trlc:4: warning: duplicate import of package Foo | ||
Processed 1 model(s), 0 check(s) and 1 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package Foo | ||
^^^ duplicate-late-packages/foo.trlc:1: warning: duplicate late declaration of package Foo, previous declaration in bar.trlc:1; consider adding an rsl file declaring the package | ||
Processed 0 model(s), 0 check(s) and 3 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks BaseRequirement { | ||
^^^^^^^^^^^^^^^ empty-attributes/checks.check:3: issue: move this check block into bar.rsl:1 [deprecated_feature] | ||
bar.BaseRequirement SomeThing { | ||
^^^^^^^^^ empty-attributes/instances.trlc:4: check error: Asil must be set | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 warning(s) and 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
empty-files/foo.trlc:1:1: error: expected keyword package, encountered end-of-file instead | ||
Processed 0 model(s), 0 check(s) and 1 requirement file(s) and found 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks MyType { | ||
^^^^^^ enum-null/checks.check:3: issue: move this check block into bar.rsl:1 [deprecated_feature] | ||
bar.MyType SomeThing { | ||
^^^^^^^^^ enum-null/instances.trlc:4: check error: Status must be not null | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 warning(s) and 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
checks MyType { | ||
^^^^^^ enum-ok/checks.check:4: issue: move this check block into bar.rsl:1 [deprecated_feature] | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
checks MyType { | ||
^^^^^^ enum/checks.check:2: issue: move this check block into bar.rsl:1 [deprecated_feature] | ||
status != null , "Internal error when evaluating enum value" | ||
^^ enum/checks.check:4: issue: expression is always true [vcg-always-true] | ||
bar.MyType SomeThing { | ||
^^^^^^^^^ enum/instances.trlc:4: check error: Status must be NEW | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 2 warning(s) and 1 error(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
startsXwith(name, "Q"), error "name must start with Q", name | ||
^^^^^^^^^^^ error-in-check/checks.check:4: error: unknown symbol startsXwith, did you mean startswith? | ||
Processed 1 model(s), 1 check(s) and 1 requirement file(s) and found 1 error(s) |
Oops, something went wrong.