Skip to content
This repository

Test case for SI-1557 #483

Merged
merged 1 commit into from almost 2 years ago

3 participants

Heather Miller scala-jenkins Paul Phillips
Heather Miller
Collaborator

No description provided.

scala-jenkins
Collaborator

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/34/

Paul Phillips paulp merged commit 8d4b503 into from May 06, 2012
Paul Phillips paulp closed this May 06, 2012
Jason Zaugg retronym referenced this pull request from a commit in retronym/scala December 02, 2012
Jason Zaugg SI-6754 Position ClassTag based unapply
Range Positions didn't take kindly to it.

======= Position error
Unpositioned tree #483
   unpositioned [L  -1 P#  484] #483    [NoPosition]    UnApply    // UnApply
      enclosing [L   7        ] #484    [261:291]       CaseDef    // ru.TypeRef(_, _, args) => args;
        sibling [L  -1 P#  484] #483    [NoPosition]    UnApply    // UnApply
        sibling [L   7 P#  484] #79     [287:291]       Ident      // args;
414f25e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 06, 2012
Heather Miller Test case for SI-1557 8d4b503
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 18 additions and 0 deletions. Show diff stats Hide diff stats

  1. 18  test/pending/neg/t1557.scala
18  test/pending/neg/t1557.scala
... ...
@@ -0,0 +1,18 @@
  1
+object Test extends App {
  2
+ trait A
  3
+ trait B extends A
  4
+
  5
+  trait C {
  6
+    trait D { type T >: B <: A }
  7
+    val y: (D with this.type)#T = new B { }
  8
+  }
  9
+
  10
+  class D extends C {
  11
+    trait E
  12
+    type T = E 
  13
+    def frob(arg : E) : E = arg
  14
+    frob(y)
  15
+  }
  16
+
  17
+  new D
  18
+}
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.