docs: add block syntax documentation, remove outdated TODOs, and add prefix ~ operator test
This commit is contained in:
@@ -14,6 +14,7 @@ class Foo {
|
||||
|(other) { "infix | " + other }
|
||||
|
||||
! { "prefix !" }
|
||||
~ { "prefix ~" }
|
||||
- { "prefix -" }
|
||||
}
|
||||
|
||||
@@ -32,4 +33,5 @@ IO.print(foo != "a") // expect: infix != a
|
||||
IO.print(foo & "a") // expect: infix & a
|
||||
IO.print(foo | "a") // expect: infix | a
|
||||
IO.print(!foo) // expect: prefix !
|
||||
IO.print(~foo) // expect: prefix ~
|
||||
IO.print(-foo) // expect: prefix -
|
||||
|
||||
Reference in New Issue
Block a user