-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add callee, member and reference expression tests
- Loading branch information
Showing
8 changed files
with
602 additions
and
129 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## Callees in placeables. | ||
|
||
function-callee-placeable = {FUNCTION()} | ||
term-callee-placeable = {-term()} | ||
# ERROR Messages cannot be parameterized. | ||
message-callee-placeable = {message()} | ||
# ERROR Equivalent to a MessageReference callee. | ||
mixed-case-callee-placeable = {Function()} | ||
# ERROR Message attributes cannot be parameterized. | ||
message-attr-callee-placeable = {message.attr()} | ||
# ERROR Term attributes may not be used in Placeables. | ||
term-attr-callee-placeable = {-term.attr()} | ||
# ERROR Variables cannot be parameterized. | ||
variable-callee-placeable = {$variable()} | ||
## Callees in selectors. | ||
|
||
function-callee-selector = {FUNCTION() -> | ||
*[key] Value | ||
} | ||
term-attr-callee-selector = {-term.attr() -> | ||
*[key] Value | ||
} | ||
# ERROR Messages cannot be parameterized. | ||
message-callee-selector = {message() -> | ||
*[key] Value | ||
} | ||
# ERROR Equivalent to a MessageReference callee. | ||
mixed-case-callee-selector = {Function() -> | ||
*[key] Value | ||
} | ||
# ERROR Message attributes cannot be parameterized. | ||
message-attr-callee-selector = {message.attr() -> | ||
*[key] Value | ||
} | ||
# ERROR Term values may not be used as selectors. | ||
term-callee-selector = {-term() -> | ||
*[key] Value | ||
} | ||
# ERROR Variables cannot be parameterized. | ||
variable-callee-selector = {$variable() -> | ||
*[key] Value | ||
} |
Oops, something went wrong.