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 Github syntax highlighting appears to be trivially satisfied:
@Annot<TFunction<T>(T)>()
voidmain() {
var c =Annot<TFunction<T>(T)>();
c >>2;
c >>>3;
c >>>>4;
}
classAnnot<TextendsTFunction<T>(T)> {
constAnnot();
intoperator>>>>(int x) => x;
intoperator>>>(int x) => x;
intoperator>>(int x) => x;
}
It's not complicated enough to recognize that type arguments belong to an annotation, or that they can't be generic function types, so those already worked like any other type argument.
The >>> operator is already recognized, likely because it just recognizes any sequence of operator characters.
Implementation issue for syntax highlighting associated with this set of features.
cc @devoncarew @franklinyow
The text was updated successfully, but these errors were encountered: