mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
Make custom bitwise operators work, add tests
This commit is contained in:
11
test/custom_operators/bitwise.wren
Normal file
11
test/custom_operators/bitwise.wren
Normal file
@ -0,0 +1,11 @@
|
||||
class Amp {
|
||||
& that {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
class Pipe {
|
||||
| that {
|
||||
return
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user