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
The as in import Foo as Bar should be highlighted in red. Note that as is not a reserved for in the usual sense, for example, it can itself be a package name or be assigned to a variable.
The Github syntax highlighter, which seems to be based on the Julia Atom package handles this case correctly but only in some cases, e.g.,
import Foo as Bar
import Foo, Bar as Zing
import as # `as` is a package nameimport Foo, as # `as` is a package nameimport as as as #XXX Github renders incorrectly
The text was updated successfully, but these errors were encountered:
The
as
inimport Foo as Bar
should be highlighted in red. Note thatas
is not a reserved for in the usual sense, for example, it can itself be a package name or be assigned to a variable.The Github syntax highlighter, which seems to be based on the Julia Atom package handles this case correctly but only in some cases, e.g.,
The text was updated successfully, but these errors were encountered: