-
Notifications
You must be signed in to change notification settings - Fork 825
Add KeywordString to SynConst. #11482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@nojaf -- KeywordString doesn't really mean anything to me, and naming is the hardest problem in computer science. Would perhaps SourceIdentifier be better, I note that the documentation for C# calls those values: source-line-file-path-identifiers Just a thought, I really don't want to bikeshed. |
Hey Kevin, I'm totally ok with a different name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the baseline is updated this will be good to go.
Thanks
Thanks, forgot about SurfaceAreaTest indeed. |
@nojaf , thanks mate, it gets me every single time :-) |
After updating Fable with latest FCS code I'm getting problems when passing open Zanaptak.TypedCssClasses
type Css = CssClasses<"./style.module.css", Naming.PascalCase, resolutionFolder=__SOURCE_DIRECTORY__> Error in Fable logs:
Can it be related to this? |
Possibly, the AST for this does indeed use the new SynConst. StaticConstantNamed
(LongIdent
(LongIdentWithDots ([resolutionFolder], [])),
StaticConstant
(SourceIdentifier
("__SOURCE_DIRECTORY__",
"/workspace/fantomas-tools/src/server/ASTViewer/bin/output",
tmp.fsx (3,80--3,100) IsSynthetic=false),
tmp.fsx (3,80--3,100) IsSynthetic=false),
tmp.fsx (3,63--3,100) IsSynthetic=false) |
Ah, sorry. I just realized this was fixed by #11610, we just need to pull the latest changes in Fable. |
Fixes #11477.