-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
51c4e6c
commit 11a8d31
Showing
56 changed files
with
130 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ package Foo | |
T Bar { | ||
b = "kitten" | ||
} | ||
|
||
T Baz { | ||
b = "dog" | ||
} |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
Processed 1 model and 1 requirement file and found no issues | ||
b = "dog" | ||
^^^^^ rbt-endswith-semantics/foo.trlc:8: check warning: b should end with en | ||
Processed 1 model and 1 requirement file and found 1 warning |
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 @@ | ||
rbt-endswith-semantics/foo.trlc:8:9: trlc check warning: b should end with en |
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 |
---|---|---|
@@ -1,6 +1,11 @@ | ||
b = "dog" | ||
^^^^^ rbt-endswith-semantics/foo.trlc:8: check warning: b should end with en | ||
{ | ||
"Bar": { | ||
"b": "kitten" | ||
}, | ||
"Baz": { | ||
"b": "dog" | ||
} | ||
} | ||
Processed 1 model and 1 requirement file and found no issues | ||
Processed 1 model and 1 requirement file and found 1 warning |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
Processed 1 model and 1 requirement file and found no issues | ||
b = "dog" | ||
^^^^^ rbt-endswith-semantics/foo.trlc:8: check warning: b should end with en | ||
Processed 1 model and 1 requirement file and found 1 warning |
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,7 +2,6 @@ package Foo | |
|
||
type T { | ||
a String | ||
b Integer | ||
c Integer[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 |
---|---|---|
|
@@ -2,6 +2,5 @@ package Foo | |
|
||
T Bar { | ||
a = "potato" | ||
b = 1 | ||
c = [2,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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
{ | ||
"Bar": { | ||
"a": "potato", | ||
"b": 1, | ||
"c": [ | ||
2, | ||
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
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 |
---|---|---|
@@ -1,7 +1,15 @@ | ||
package Foo | ||
|
||
T Bar { | ||
a = "potato" | ||
b = "kitten" | ||
c = 1 | ||
T No_Regex_Matches { | ||
a = "123456789 abcdefghijklmn" | ||
b = "??...kitten_...??" | ||
c = "not potato" | ||
d = "not Diego" | ||
} | ||
|
||
T All_Regex_Matches { | ||
a = "123abc" | ||
b = "3_kitten_" | ||
c = "potato and tomato sauce" | ||
d = "Diego" | ||
} |
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 |
---|---|---|
@@ -1 +1,9 @@ | ||
Processed 1 model and 1 requirement file and found no issues | ||
a = "123456789 abcdefghijklmn" | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:4: check warning: a should match with 6 to 12 letters or digits | ||
b = "??...kitten_...??" | ||
^^^^^^^^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:5: check warning: b should match only letters, digits, or underscores. | ||
c = "not potato" | ||
^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:6: check warning: b should start with 'potato'. | ||
d = "not Diego" | ||
^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:7: check warning: d should start with D | ||
Processed 1 model and 1 requirement file and found 4 warnings |
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,4 @@ | ||
rbt-matches-semantics/foo.trlc:4:9: trlc check warning: a should match with 6 to 12 letters or digits | ||
rbt-matches-semantics/foo.trlc:5:9: trlc check warning: b should match only letters, digits, or underscores. | ||
rbt-matches-semantics/foo.trlc:6:9: trlc check warning: b should start with 'potato'. | ||
rbt-matches-semantics/foo.trlc:7:9: trlc check warning: d should start with D |
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 |
---|---|---|
@@ -1,8 +1,23 @@ | ||
a = "123456789 abcdefghijklmn" | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:4: check warning: a should match with 6 to 12 letters or digits | ||
b = "??...kitten_...??" | ||
^^^^^^^^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:5: check warning: b should match only letters, digits, or underscores. | ||
c = "not potato" | ||
^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:6: check warning: b should start with 'potato'. | ||
d = "not Diego" | ||
^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:7: check warning: d should start with D | ||
{ | ||
"Bar": { | ||
"a": "potato", | ||
"b": "kitten", | ||
"c": 1 | ||
"All_Regex_Matches": { | ||
"a": "123abc", | ||
"b": "3_kitten_", | ||
"c": "potato and tomato sauce", | ||
"d": "Diego" | ||
}, | ||
"No_Regex_Matches": { | ||
"a": "123456789 abcdefghijklmn", | ||
"b": "??...kitten_...??", | ||
"c": "not potato", | ||
"d": "not Diego" | ||
} | ||
} | ||
Processed 1 model and 1 requirement file and found no issues | ||
Processed 1 model and 1 requirement file and found 4 warnings |
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 |
---|---|---|
@@ -1 +1,9 @@ | ||
Processed 1 model and 1 requirement file and found no issues | ||
a = "123456789 abcdefghijklmn" | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:4: check warning: a should match with 6 to 12 letters or digits | ||
b = "??...kitten_...??" | ||
^^^^^^^^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:5: check warning: b should match only letters, digits, or underscores. | ||
c = "not potato" | ||
^^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:6: check warning: b should start with 'potato'. | ||
d = "not Diego" | ||
^^^^^^^^^^^ rbt-matches-semantics/foo.trlc:7: check warning: d should start with D | ||
Processed 1 model and 1 requirement file and found 4 warnings |
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ package Foo | |
type T { | ||
a String | ||
b Integer | ||
c Integer[1..*] | ||
} | ||
|
||
checks T { | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
len(b) > 7, "b must be longer than 7" | ||
^ rbt-signature-len-1/foo.rsl:11: error: expected expression of type Array_Type, got Builtin_Integer instead | ||
^ rbt-signature-len-1/foo.rsl:10: error: expected expression of type Array_Type, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rbt-signature-len-1/foo.rsl:11:9: trlc error: expected expression of type Array_Type, got Builtin_Integer instead | ||
rbt-signature-len-1/foo.rsl:10:9: trlc error: expected expression of type Array_Type, got Builtin_Integer instead |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
len(b) > 7, "b must be longer than 7" | ||
^ rbt-signature-len-1/foo.rsl:11: error: expected expression of type Array_Type, got Builtin_Integer instead | ||
^ rbt-signature-len-1/foo.rsl:10: error: expected expression of type Array_Type, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
len(b) > 7, "b must be longer than 7" | ||
^ rbt-signature-len-1/foo.rsl:11: error: expected expression of type Array_Type, got Builtin_Integer instead | ||
^ rbt-signature-len-1/foo.rsl:10: error: expected expression of type Array_Type, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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,7 +2,6 @@ package Foo | |
|
||
type T { | ||
a String | ||
b Integer | ||
c Integer[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 |
---|---|---|
|
@@ -2,6 +2,5 @@ package Foo | |
|
||
T Bar { | ||
a = "potato" | ||
b = 1 | ||
c = [2,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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
len(a, c) > 7, "a and c must be longer than 7" | ||
^^^ rbt-signature-len-2/foo.rsl:12: error: function requires 1 parameters | ||
^^^ rbt-signature-len-2/foo.rsl:11: error: function requires 1 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rbt-signature-len-2/foo.rsl:12:5: trlc error: function requires 1 parameters | ||
rbt-signature-len-2/foo.rsl:11:5: trlc error: function requires 1 parameters |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
len(a, c) > 7, "a and c must be longer than 7" | ||
^^^ rbt-signature-len-2/foo.rsl:12: error: function requires 1 parameters | ||
^^^ rbt-signature-len-2/foo.rsl:11: error: function requires 1 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
len(a, c) > 7, "a and c must be longer than 7" | ||
^^^ rbt-signature-len-2/foo.rsl:12: error: function requires 1 parameters | ||
^^^ rbt-signature-len-2/foo.rsl:11: error: function requires 1 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
package Foo | ||
|
||
type T { | ||
a String | ||
b String | ||
c Integer | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(c, "potato"), warning "a should match with potato", a | ||
^ rbt-signature-matches-1/foo.rsl:10: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
^ rbt-signature-matches-1/foo.rsl:8: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rbt-signature-matches-1/foo.rsl:10:13: trlc error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
rbt-signature-matches-1/foo.rsl:8:13: trlc error: expected expression of type Builtin_String, got Builtin_Integer instead |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(c, "potato"), warning "a should match with potato", a | ||
^ rbt-signature-matches-1/foo.rsl:10: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
^ rbt-signature-matches-1/foo.rsl:8: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(c, "potato"), warning "a should match with potato", a | ||
^ rbt-signature-matches-1/foo.rsl:10: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
^ rbt-signature-matches-1/foo.rsl:8: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ package Foo | |
type T { | ||
a String | ||
b String | ||
c Integer | ||
} | ||
|
||
checks T { | ||
|
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ package Foo | |
T Bar { | ||
a = "potato" | ||
b = "kitten" | ||
c = 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(a, b, "potato"), warning "a should match with potato", a | ||
^^^^^^^ rbt-signature-matches-2/foo.rsl:10: error: function requires 2 parameters | ||
^^^^^^^ rbt-signature-matches-2/foo.rsl:9: error: function requires 2 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rbt-signature-matches-2/foo.rsl:10:5: trlc error: function requires 2 parameters | ||
rbt-signature-matches-2/foo.rsl:9:5: trlc error: function requires 2 parameters |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(a, b, "potato"), warning "a should match with potato", a | ||
^^^^^^^ rbt-signature-matches-2/foo.rsl:10: error: function requires 2 parameters | ||
^^^^^^^ rbt-signature-matches-2/foo.rsl:9: error: function requires 2 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(a, b, "potato"), warning "a should match with potato", a | ||
^^^^^^^ rbt-signature-matches-2/foo.rsl:10: error: function requires 2 parameters | ||
^^^^^^^ rbt-signature-matches-2/foo.rsl:9: error: function requires 2 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(a, "(abc(def)"), warning "a should match with potato", a | ||
matches(a, "(abc(def)"), warning "a should match with the regex (abc(def))", a | ||
^^^^^^^^^^^ rbt-signature-matches-3/foo.rsl:10: error: missing ), unterminated subpattern at position 0 | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(a, "(abc(def)"), warning "a should match with potato", a | ||
matches(a, "(abc(def)"), warning "a should match with the regex (abc(def))", a | ||
^^^^^^^^^^^ rbt-signature-matches-3/foo.rsl:10: error: missing ), unterminated subpattern at position 0 | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matches(a, "(abc(def)"), warning "a should match with potato", a | ||
matches(a, "(abc(def)"), warning "a should match with the regex (abc(def))", a | ||
^^^^^^^^^^^ rbt-signature-matches-3/foo.rsl:10: error: missing ), unterminated subpattern at position 0 | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
endswith(c, "en"), warning "a should end with en", c | ||
^ rbt-signature-string-end-functions-1/foo.rsl:12: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
startswith(c, "po"), warning "b should start with po", b | ||
^ rbt-signature-string-end-functions-1/foo.rsl:10: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rbt-signature-string-end-functions-1/foo.rsl:12:14: trlc error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
rbt-signature-string-end-functions-1/foo.rsl:10:16: trlc error: expected expression of type Builtin_String, got Builtin_Integer instead |
4 changes: 2 additions & 2 deletions
4
tests-system/rbt-signature-string-end-functions-1/output.json
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
endswith(c, "en"), warning "a should end with en", c | ||
^ rbt-signature-string-end-functions-1/foo.rsl:12: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
startswith(c, "po"), warning "b should start with po", b | ||
^ rbt-signature-string-end-functions-1/foo.rsl:10: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
4 changes: 2 additions & 2 deletions
4
tests-system/rbt-signature-string-end-functions-1/output.smtlib
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
endswith(c, "en"), warning "a should end with en", c | ||
^ rbt-signature-string-end-functions-1/foo.rsl:12: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
startswith(c, "po"), warning "b should start with po", b | ||
^ rbt-signature-string-end-functions-1/foo.rsl:10: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ package Foo | |
type T { | ||
a String | ||
b String | ||
c Integer | ||
} | ||
|
||
checks T { | ||
|
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ package Foo | |
T Bar { | ||
a = "potato" | ||
b = "kitten" | ||
c = 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
endswith(a, b, "en"), warning "b should end with en", b | ||
^^^^^^^^ rbt-signature-string-end-functions-2/foo.rsl:13: error: function requires 2 parameters | ||
^^^^^^^^ rbt-signature-string-end-functions-2/foo.rsl:12: error: function requires 2 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rbt-signature-string-end-functions-2/foo.rsl:13:5: trlc error: function requires 2 parameters | ||
rbt-signature-string-end-functions-2/foo.rsl:12:5: trlc error: function requires 2 parameters |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
endswith(a, b, "en"), warning "b should end with en", b | ||
^^^^^^^^ rbt-signature-string-end-functions-2/foo.rsl:13: error: function requires 2 parameters | ||
^^^^^^^^ rbt-signature-string-end-functions-2/foo.rsl:12: error: function requires 2 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
2 changes: 1 addition & 1 deletion
2
tests-system/rbt-signature-string-end-functions-2/output.smtlib
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
endswith(a, b, "en"), warning "b should end with en", b | ||
^^^^^^^^ rbt-signature-string-end-functions-2/foo.rsl:13: error: function requires 2 parameters | ||
^^^^^^^^ rbt-signature-string-end-functions-2/foo.rsl:12: error: function requires 2 parameters | ||
Processed 1 model and 1 requirement file and found 1 error |
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,11 @@ | ||
package Foo | ||
|
||
type T { | ||
b String | ||
c Integer | ||
} | ||
|
||
checks T { | ||
endswith(c, "en"), warning "a should end with en", c | ||
endswith(b, "en"), warning "b should end with en", b | ||
} |
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 @@ | ||
endswith(c, "en"), warning "a should end with en", c | ||
^ rbt-signature-string-end-functions-3/foo.rsl:9: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
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 @@ | ||
rbt-signature-string-end-functions-3/foo.rsl:9:14: trlc error: expected expression of type Builtin_String, got Builtin_Integer instead |
3 changes: 3 additions & 0 deletions
3
tests-system/rbt-signature-string-end-functions-3/output.json
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 @@ | ||
endswith(c, "en"), warning "a should end with en", c | ||
^ rbt-signature-string-end-functions-3/foo.rsl:9: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |
3 changes: 3 additions & 0 deletions
3
tests-system/rbt-signature-string-end-functions-3/output.smtlib
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 @@ | ||
endswith(c, "en"), warning "a should end with en", c | ||
^ rbt-signature-string-end-functions-3/foo.rsl:9: error: expected expression of type Builtin_String, got Builtin_Integer instead | ||
Processed 1 model and 0 requirement files and found 1 error |