Skip to content

Commit d7f7607

Browse files
committed
Fix type alias
We forgot the type parameters, which caused from-tasty and pickling tests to fail. We should probably disallow these forms of aliases and check for this.
1 parent 7c1719b commit d7f7607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/main-method-scheme.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class main(progName: String, args: Array[String], docComment: String) extends Ma
2222

2323
def this() = this("", Array(), "")
2424

25-
type ArgumentParser = util.FromString
25+
type ArgumentParser[T] = util.FromString[T]
2626

2727
/** A buffer of demanded argument names, plus
2828
* "?" if it has a default

0 commit comments

Comments
 (0)