-
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 (#99)
fixes #98
- Loading branch information
1 parent
2cfed0b
commit 7873520
Showing
15 changed files
with
52 additions
and
31 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
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