-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/topic/robin/fixes-and-cleanup'
* origin/topic/robin/fixes-and-cleanup: Pretty print reference types in Spicy output. Do not perform automatic deref on RHS of an assignment. Fix line numbers. Update NEWS with a list of incompatibilities compared to previous version. Fix auto-deref of LHS references. Improve error message.
- Loading branch information
Showing
27 changed files
with
146 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.0-dev.105 | ||
1.11.0-dev.112 |
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
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,5 +1,4 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/params-write-fail.hlt:17:5-17:12: cannot assign to constant expression: X = True | ||
[error] <...>/params-write-fail.hlt:18:5-18:15: unsupported operator: add <const set<string>>[<string>] | ||
[error] <...>/params-write-fail.hlt:19:5-19:12: cannot assign to constant expression: (*Z).a = 42 | ||
[error] hiltic: aborting after errors |
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,7 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/coercion-fail.spicy:7:1-7:27: cannot coerce expression '0x1.028f5c28f5c29p+0' of type 'real' to type 'bool' | ||
[error] <...>/coercion-fail.spicy:8:1-8:26: cannot coerce expression '0x0p+0' of type 'real' to type 'bool' | ||
[error] <...>/coercion-fail.spicy:13:1-13:41: cannot coerce expression '18446744073709550592' of type 'uint<64>' to type 'real' | ||
[error] <...>/coercion-fail.spicy:15:1-15:41: cannot coerce expression '-9223372036854775296' of type 'int<64>' to type 'real' | ||
[error] <...>/coercion-fail.spicy:17:1-17:34: cannot coerce expression '9007199254740993' of type 'uint<64>' to type 'real' | ||
[error] <...>/coercion-fail.spicy:12:1-12:41: cannot coerce expression '18446744073709550592' of type 'uint<64>' to type 'real' | ||
[error] <...>/coercion-fail.spicy:14:1-14:41: cannot coerce expression '-9223372036854775296' of type 'int<64>' to type 'real' | ||
[error] <...>/coercion-fail.spicy:16:1-16:34: cannot coerce expression '9007199254740993' of type 'uint<64>' to type 'real' | ||
[error] spicyc: aborting after errors |
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,4 +1,4 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/init-fail.spicy:14:1-14:21: declaration needs a concrete struct type | ||
[error] <...>/init-fail.spicy:18:5-18:24: declaration needs a concrete struct type | ||
[error] <...>/init-fail.spicy:13:1-13:21: declaration needs a concrete struct type | ||
[error] <...>/init-fail.spicy:17:5-17:24: declaration needs a concrete struct type | ||
[error] spicyc: aborting after errors |
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,2 +1,2 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] terminating with uncaught exception of type hilti::rt::AssertionFailure: failed expression '(*self).__offset != 0' (<...>/begin-uninit.spicy:10:16-10:41) | ||
[error] terminating with uncaught exception of type hilti::rt::AssertionFailure: failed expression '(*self).__offset != 0' (<...>/begin-uninit.spicy:9:16-9:41) |
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 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/context-undeclared.spicy:10:15-10:28: context() used with a unit which did not declare %context | ||
[error] <...>/context-undeclared.spicy:9:15-9:28: context() used with a unit which did not declare %context | ||
[error] spicyc: aborting after errors |
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,4 +1,4 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/params-inout-fail.spicy:10:15-10:30: type of inout unit parameter must itself be a unit; for other parameter types, use references instead of inout | ||
[error] <...>/params-inout-fail.spicy:12:15-12:29: type of inout unit parameter must itself be a unit; for other parameter types, use references instead of inout | ||
[error] <...>/params-inout-fail.spicy:10:15-10:30: unsupported type for unit parameter 'n' (type of inout unit parameters must itself be a unit; for other parameter types, use references instead of inout) | ||
[error] <...>/params-inout-fail.spicy:12:15-12:29: unsupported type for unit parameter 'n' (type of inout unit parameters must itself be a unit; for other parameter types, use references instead of inout) | ||
[error] spicyc: aborting after errors |
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 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/params-reference-fail.spicy:7:5-7:18: cannot coerce expression 'new "xxx"()' of type 'string&' to type 'string' | ||
[error] spicyc: aborting after errors |
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,4 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
X, old | ||
Y, new | ||
struct_, [$x="xxx"] |
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 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/params-sink-fail.spicy:4:15-4:27: type of inout unit parameter must itself be a unit; for other parameter types, use references instead of inout | ||
[error] <...>/params-sink-fail.spicy:4:15-4:27: unsupported type for unit parameter 's' (type of inout unit parameters must itself be a unit; for other parameter types, use references instead of inout) | ||
[error] spicy-driver: aborting after errors |
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,4 +1,3 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/params-write-fail.spicy:16:9-16:17: cannot assign to constant expression: x = False | ||
[error] <...>/params-write-fail.spicy:17:9-17:16: cannot assign to constant expression: (*y).a = 42 | ||
[error] spicyc: aborting after errors |
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,4 +1,4 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/size-validation-fail.spicy:9:11-11:1: &size expression cannot use 'self' since it is only available after parsing of unit has started | ||
[error] <...>/size-validation-fail.spicy:13:11-15:1: &max-size expression cannot use 'self' since it is only available after parsing of unit has started | ||
[error] <...>/size-validation-fail.spicy:8:11-10:1: &size expression cannot use 'self' since it is only available after parsing of unit has started | ||
[error] <...>/size-validation-fail.spicy:12:11-14:1: &max-size expression cannot use 'self' since it is only available after parsing of unit has started | ||
[error] spicyc: aborting after errors |
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,4 +1,4 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/struct-ctor-init-2.spicy:14:1-14:9: unsupported operator: <map<Key, uint<8>>>[<struct { uint<64> a; }>] | ||
[error] <...>/struct-ctor-init-2.spicy:13:11-13:25: type cannot be used as key type for maps (because type 'Key' is not sortable) | ||
[error] <...>/struct-ctor-init-2.spicy:13:1-13:9: unsupported operator: <map<Key, uint<8>>>[<struct { uint<64> a; }>] | ||
[error] <...>/struct-ctor-init-2.spicy:12:11-12:25: type cannot be used as key type for maps (because type 'Key' is not sortable) | ||
[error] spicyc: aborting after errors |
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
Oops, something went wrong.