-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Looking at https://arialang.github.io/style_guide.html, this sample code breaks the highlighter:
struct Complex {
# ...
operator +(rhs) {
if (rhs isa Int) || (rhs isa Float) {
return Complex.new(this.real + rhs, this.imag);
} elsif rhs isa Complex {
return Complex.new(this.real + rhs.real, this.imag + rhs.imag);
} else {
throw alloc(Unimplemented);
}
}
reverse operator +(lhs) {
return this._op_impl_add(lhs);
}
}
everything after the (rhs isa Int) || is printed as plain text
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed