-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/ast: remove ParseIdent and support for quoted identifiers
Quoted identifiers haven't been supported or used for years. https://cuelang.org/cl/531206 dropped support for them entirely, but missed the APIs in the cue/ast package itself. Remove the deprecated ParseIdent API, just like the earlier CL removed any APIs only useful for quoted identifiers, and teach LabelName to return an error on quoted identifiers. All other behavior should be left intact. While here, we also simplify the LabelName logic a bit. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I106163d4701e9eaf5796d5ac94975321259784a7 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1185684 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
84 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