-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the error message when an annotation is both inherited and
explicitly declared. This is mostly done, but still a bit of a WIP: 1. The todo!() is waiting on the merge of #128 2. This all got quite verbose, and should become its own function to improve readability 3. The test is written, but not added in lib.rs
- Loading branch information
Showing
3 changed files
with
87 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
virtual resource tmp {} | ||
|
||
@associate([tmp]) | ||
virtual domain bar {} | ||
|
||
@associate([tmp]) | ||
domain foo inherits bar { | ||
allow(this, this.tmp, file, write); | ||
} | ||
|
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