-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:extension-methodsarea:replexp:novicegood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:enhancement
Milestone
Description
scala> extension (x: Int) def f =
| 0
def extension_f(x: Int): Int
scala> extension (x: Int)
1 |extension (x: Int)
| ^
| Extension without extension methods
scala> extension (x: Int):
1 |extension (x: Int):
| ^
| Extension without extension methods
scala> extension (x: Int) {
1 |extension (x: Int) {
| ^
| `def` expected
scala> extension (x: Int) { def f = 0 }
def extension_f(x: Int): Int
Metadata
Metadata
Assignees
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:extension-methodsarea:replexp:novicegood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:enhancement