You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Syntax highlighting fails for using module <relative-path> #191
Yes, the syntax is very limited (too conservative) for the using keyword. The \ causes the entire syntaxing to fail, as its not acceptable per the grammar. I haven't made any improvement in this area either, with my PR #155 or #156, though I have in some others such as comment based help arguments.
😄 , I don't think that is a bug, I think it is by-design as a defense in depth measure, but definitely ironic.
I might try to look in to improving the 'using' keyword's syntaxing logic. I've done some already for the namespace portion in my PR's, but not for module.
Activity
msftrncs commentedon Dec 7, 2019
Yes, the syntax is very limited (too conservative) for the
usingkeyword. The\causes the entire syntaxing to fail, as its not acceptable per the grammar. I haven't made any improvement in this area either, with my PR #155 or #156, though I have in some others such as comment based help arguments.chriskuech commentedon Dec 9, 2019
Ironic because due to a bug,
\is required for relative path imports.msftrncs commentedon Dec 9, 2019
😄 , I don't think that is a bug, I think it is by-design as a defense in depth measure, but definitely ironic.
I might try to look in to improving the 'using' keyword's syntaxing logic. I've done some already for the
namespaceportion in my PR's, but not formodule.