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
Looking at
https://arialang.github.io/style_guide.html, this sample code breaks the highlighter:everything after the
(rhs isa Int) ||is printed as plain text