Skip to content

Commit fb391d9

Browse files
committed
undo the optional self
1 parent 7104006 commit fb391d9

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

core/rbs/ops.rbs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
module RBS
22
module Ops
33
# An interface for types implementing the `+` operator
4-
interface _Add[O, R = self]
4+
interface _Add[O, R]
55
# Perform the `+` operation
66
def +: (O other) -> R
77
end
88

99
# An interface for types implementing the `-` operator
10-
interface _Subtract[O, R = self]
10+
interface _Subtract[O, R]
1111
# Perform the `-` operation
1212
def -: (O other) -> R
1313
end
1414

1515
# An interface for types implementing the `*` operator
16-
interface _Times[O, R = self]
16+
interface _Times[O, R]
1717
# Perform the `*` operation
1818
def *: (O other) -> R
1919
end
2020

2121
# An interface for types implementing the `/` operator
22-
interface _Divide[O, R = self]
22+
interface _Divide[O, R]
2323
# Perform the `/` operation
2424
def /: (O other) -> R
2525
end
2626

2727
# An interface for types implementing the `%` operator
28-
interface _Modulo[O, R = self]
28+
interface _Modulo[O, R]
2929
# Perform the `%` operation
3030
def %: (O other) -> R
3131
end
3232

3333
# An interface for types implementing the `**` operator
34-
interface _Power[O, R = self]
34+
interface _Power[O, R]
3535
# Perform the `**` operation
3636
def **: (O other) -> R
3737
end
@@ -67,49 +67,49 @@ module RBS
6767
end
6868

6969
# An interface for types implementing the `&` operator
70-
interface _And[O, R = self]
70+
interface _And[O, R]
7171
# Perform the `&` operation
7272
def &: (O other) -> R
7373
end
7474

7575
# An interface for types implementing the `|` operator
76-
interface _Or[O, R = self]
76+
interface _Or[O, R]
7777
# Perform the `|` operation
7878
def |: (O other) -> R
7979
end
8080

8181
# An interface for types implementing the `^` operator
82-
interface _Xor[O, R = self]
82+
interface _Xor[O, R]
8383
# Perform the `^` operation
8484
def ^: (O other) -> R
8585
end
8686

8787
# An interface for types implementing the `<<` operator
88-
interface _LeftShift[O, R = self]
88+
interface _LeftShift[O, R]
8989
# Perform the `<<` operation
9090
def <<: (O other) -> R
9191
end
9292

9393
# An interface for types implementing the `>>` operator
94-
interface _RightShift[O, R = self]
94+
interface _RightShift[O, R]
9595
# Perform the `>>` operation
9696
def >>: (O other) -> R
9797
end
9898

9999
# An interface for types implementing the `~` operator
100-
interface _Not[R = self]
100+
interface _Not[R]
101101
# Perform the `~` operation
102102
def ~: () -> R
103103
end
104104

105105
# An interface for types implementing the `+@` operator
106-
interface _UnaryPos[R = self]
106+
interface _UnaryPos[R]
107107
# Perform the `+@` operation
108108
def +@: () -> R
109109
end
110110

111111
# An interface for types implementing the `-@` operator
112-
interface _UnaryNeg[R = self]
112+
interface _UnaryNeg[R]
113113
# Perform the `-@` operation
114114
def -@: () -> R
115115
end

0 commit comments

Comments
 (0)