summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/test/com/siyeh/ipp/types/lambda2anonymous/Ambiguity.java
blob: e8be7a9d0b0c46ca85c28fc601043c7779c232aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
interface I1 {
  void m();
}

interface I2 {
  void m();
}

class Ambiguity1 {

  static void m(I1 i1) {}
  static void m(I2 i2) {}

  {
    m((<caret>)->{throw new AssertionError();});
  }
}