summaryrefslogtreecommitdiff
path: root/test/files/neg/bugs.scala
blob: b41de26ea4d89c8efccf7e0f649922d12c7258ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//############################################################################
// Bugs
//############################################################################
// $Id$

//############################################################################
// Bug 271

object Bug271P {
  def p(f:Tuple2[Boolean,Boolean] => Boolean) = 1;
  def p(f:List[Any] => Boolean) = 2;
}

object Bug271Test with Application {
  Console.println(Bug271P.p((x:List[Any])=>true));
}

//############################################################################