-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encompass child node's location in parent.
Closes #1893 When a child is added with `addChild`, the parent's location should (generally) span over that child as well. This primarily helps for cases where a node doesn't have much of a location until it gets children added - like `AttributeSet`. The locations for those should encompass all of the attributes within the set. That logic applies for any node with a child: if it's the child, then its location should reflect that.
- Loading branch information
1 parent
5dd8fb3
commit adc5e8d
Showing
11 changed files
with
328 additions
and
298 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
116 changes: 58 additions & 58 deletions
116
tests/Baseline/hilti.expressions.ctor-replacement/output
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
tests/Baseline/spicy.attributes.invalid-type-attributes/output
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,6 +1,6 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
[error] <...>/invalid-type-attributes.spicy:11:1-11:23: attributes are not allow on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:12:1-12:23: attributes are not allow on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:15:1-15:46: attributes are not allow on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:16:1-16:53: attributes are not allow on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:11:17-11:22: attributes are not allowed on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:12:15-12:22: attributes are not allowed on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:15:28-15:45: attributes are not allowed on type aliases | ||
[error] <...>/invalid-type-attributes.spicy:16:20-16:52: attributes are not allowed on type aliases | ||
[error] spicyc: aborting after errors |