Skip to content

Commit 728cb1b

Browse files
author
Carl Masak
committed
avoid typing enums as 'is Int'
This was perceived to be confusing, even if it's true.
1 parent abf90a7 commit 728cb1b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

type-graph.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,12 @@ class CurrentThreadScheduler does Scheduler
170170
class ThreadPoolScheduler does Scheduler
171171
class Promise
172172
class Promise::Vow
173-
# enum PromiseStatus
174-
enum PromiseStatus is Int
173+
enum PromiseStatus
175174
class Channel
176175
class Tap
177176
role Supply
178177
class SupplyOperations
179-
# enum Signal
180-
class Signal is Int
178+
enum Signal
181179
class Semaphore
182180
class Lock
183181
class Proc::Async

0 commit comments

Comments
 (0)