-
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.
Adding universal attributes to all components (excluding term) (#379)
* added universal arguments to all components * added check on redundant declaration of universal arguments * fixed all tests after adding universal arguments * added a helper func to get a optional default value from kind * commented out the redundant declarations of id in components * example file added
- Loading branch information
Showing
5 changed files
with
774 additions
and
407 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,15 @@ | ||
;; This previously worked when the arguments are locally defined | ||
-- ftd.text foo: $c | ||
optional string c: | ||
optional integer d: | ||
|
||
;; This works | ||
-- foo: | ||
c: xyz | ||
|
||
;; This works now since id is now a universal argument | ||
-- ftd.text t1: $id | ||
|
||
;; This works now (shows term and id) | ||
-- t1: | ||
id: some-id |
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.