-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict wildcard selectors to have exactly one other message (#1708)
* Add some tests/todos * Testing * Add test for using well known selector without wildcard * Require reserved selector * Define reserved selector const * WIP defining wildcard selector complement * Compiles with wildcard selector complement * Return combined error on 2 or more messages * Fix up compile test for wildcard selector complement * Add error for when wildcard complement used without wildcard * Fix test * Fmt * Fmt * Clear up error combine code * Fix some wildcard complement tests * WIP use correct wildcard complement selector * Introduce Symbol parsing for MetaValue * Remove unused imports * Add wildcard-selector example * Calculate correct wildcard complement selector * Use well known wildcard complement constant * Fix UI test * WIP wildcard selector integration test * WIP wildcard selector integration test * Test wildcard * Wildcard complement test, define const in prelude and reexport * spellcheck * Clippy * Use underscores for param bindings
- Loading branch information
Showing
23 changed files
with
575 additions
and
69 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 |
---|---|---|
|
@@ -27,6 +27,7 @@ mod xts; | |
|
||
pub use builders::{ | ||
build_message, | ||
Message, | ||
MessageBuilder, | ||
}; | ||
pub use client::{ | ||
|
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 |
---|---|---|
|
@@ -32,6 +32,7 @@ pub use self::{ | |
meta::{ | ||
Meta, | ||
MetaNameValue, | ||
PathOrLit, | ||
MetaValue, | ||
Symbol, | ||
}, | ||
}; |
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
Oops, something went wrong.