You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error when pickling type T
error when pickling type javafx.scene.control.ComboBox[T]
error when pickling tree javafx.scene.control.ComboBox[T]
error when pickling tree val cb: javafx.scene.control.ComboBox[T] =
Dsl.BorderPaneBuilder(this).right[javafx.scene.control.ComboBox[T]](
Dsl.combobox[T](Test.this.planets: Planet*)
)
error when pickling tree (planets: scala.collection.Seq[Planet] @scala.annotation.internal.Repeated())
extends
javafx.scene.layout.BorderPane() { $: Test =>
private[this] val planets: scala.collection.Seq[Planet] @Repeated
val cb: javafx.scene.control.ComboBox[T] =
Dsl.BorderPaneBuilder(this).right[javafx.scene.control.ComboBox[T]](
Dsl.combobox[T](Test.this.planets: Planet*)
)
Test.this.cb.getSelectionModel().selectLast()
}
error when pickling tree @scala.annotation.internal.SourceFile(
"/home/randa/Development/testdotty/src/main/scala/Main.scala"
) class Test(
planets: scala.collection.Seq[Planet] @scala.annotation.internal.Repeated()
) extends javafx.scene.layout.BorderPane() { $: Test =>
private[this] val planets: scala.collection.Seq[Planet] @Repeated
val cb: javafx.scene.control.ComboBox[T] =
Dsl.BorderPaneBuilder(this).right[javafx.scene.control.ComboBox[T]](
Dsl.combobox[T](Test.this.planets: Planet*)
)
this.cb.getSelectionModel().selectLast()
}
error when pickling tree package <empty> {
import javafx.scene.Node
import javafx.scene.control._
import javafx.scene.layout._
import Dsl._
@scala.annotation.internal.SourceFile(
"/home/randa/Development/testdotty/src/main/scala/Main.scala"
) class Test(
planets: scala.collection.Seq[Planet] @scala.annotation.internal.Repeated()
) extends javafx.scene.layout.BorderPane() { $: Test =>
private[this] val planets: scala.collection.Seq[Planet] @Repeated
val cb: javafx.scene.control.ComboBox[T] =
Dsl.BorderPaneBuilder(this).right[javafx.scene.control.ComboBox[T]](
Dsl.combobox[T](Test.this.planets: Planet*)
)
this.cb.getSelectionModel().selectLast()
}
}
The orphan type T gets leaked even to the "presentation compiler" exposed through the language server.
The text was updated successfully, but these errors were encountered:
this.right(inv(1)) is typechecked inside a FunProto#typedArgs, this is very reminiscent of #1460. In general the way FunProto deals with caches and contexts is very dubious, I tried to fix it in #2922 but that's not enough.
smarter
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 23, 2017
Uh oh!
There was an error while loading. Please reload this page.
Code to reproduce it https://gist.github.com/rcano/14c1b3af9bec4b9dadbc7ba2fd097fd3
(Note, requires javafx which comes bundled with Oracle's JDK or you can install with to openjdk)
The error looks like this:
The orphan type T gets leaked even to the "presentation compiler" exposed through the language server.
The text was updated successfully, but these errors were encountered: