forked from lihaoyi/hands-on-scala-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Passes all the way to test case t5958.scala
- Loading branch information
Li Haoyi
committed
Nov 29, 2014
1 parent
38ab174
commit a2e4a07
Showing
3 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
class A { | ||
def fn1 = List apply 1 | ||
def fn2 = List apply[Int] 2 | ||
class Test { | ||
|
||
def g1: Char = "g1" toList 0 | ||
def g2: Char = "g2" apply 1 | ||
|
||
def h1 = List apply[List[Int]] (List(1), List(2)) mapConserve[List[Any]] (x => x) | ||
f: A | ||
g(og): B | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters