-
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.
fixes remove of deprecated builtin function syntax
- Loading branch information
christophkloeffel
committed
Sep 10, 2024
1 parent
2cfed0b
commit 9fc89ee
Showing
14 changed files
with
50 additions
and
30 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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 @@ | ||
len("foo") == 3, warning "len is broken" | ||
^^ rbt-builtin-functions-1/foo.rsl:6: issue: expression is always true [vcg-always-true] | ||
startswith("foo", "f"), warning "startswith is broken" | ||
^^^^^^^^^^ rbt-builtin-functions-1/foo.rsl:7: issue: expression is always true [vcg-always-true] | ||
endswith("foo", "o"), warning "endswith is broken" | ||
^^^^^^^^ rbt-builtin-functions-1/foo.rsl:8: issue: expression is always true [vcg-always-true] | ||
Processed 1 model and 1 requirement file and found 3 warnings |
File renamed without changes.
File renamed without changes.
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 @@ | ||
len("foo") == 3, warning "len is broken" | ||
^^ rbt-builtin-functions-1/foo.rsl:6: issue: expression is always true [vcg-always-true] | ||
startswith("foo", "f"), warning "startswith is broken" | ||
^^^^^^^^^^ rbt-builtin-functions-1/foo.rsl:7: issue: expression is always true [vcg-always-true] | ||
endswith("foo", "o"), warning "endswith is broken" | ||
^^^^^^^^ rbt-builtin-functions-1/foo.rsl:8: issue: expression is always true [vcg-always-true] | ||
Processed 1 model and 1 requirement file and found 3 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,11 @@ | ||
package Foo | ||
|
||
type Requirement { | ||
name String | ||
description String | ||
|
||
} | ||
|
||
checks Requirement { | ||
name != , warning "bar" | ||
} |
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 @@ | ||
name != , warning "bar" | ||
^ rbt-builtin-functions-2/foo.rsl:10: error: expected identifier, encountered comma ',' 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-builtin-functions-2/foo.rsl:10:13: trlc error: expected identifier, encountered comma ',' 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name != , warning "bar" | ||
^ rbt-builtin-functions-2/foo.rsl:10: error: expected identifier, encountered comma ',' 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,3 @@ | ||
name != , warning "bar" | ||
^ rbt-builtin-functions-2/foo.rsl:10: error: expected identifier, encountered comma ',' instead | ||
Processed 1 model and 0 requirement files and found 1 error |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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