Skip to content

Loading…

A couple of minor fixes #71

Closed
wants to merge 2 commits into from

2 participants

@xeno-by

No description provided.

@xeno-by

I'll resubmit this pull request later. Please, don't merge this one.

@xeno-by xeno-by closed this
@xeno-by

This one is good: #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
2 src/compiler/scala/reflect/runtime/JavaToScala.scala
@@ -53,7 +53,7 @@ trait JavaToScala extends ConversionUtil { self: SymbolTable =>
javaClass(path)
true
} catch {
- case (_: ClassNotFoundException) | (_: NoClassDefFoundError) =>
+ case (_: ClassNotFoundException) | (_: NoClassDefFoundError) | (_: IncompatibleClassChangeError) =>
false
}
View
5 src/library/scala/reflect/api/Trees.scala
@@ -625,6 +625,11 @@ trait Trees /*extends reflect.generic.Trees*/ { self: Universe =>
def TypeTree(tp: Type): TypeTree = TypeTree() setType tp
+ /** An empty deferred value definition corresponding to:
+ * val _: _
+ * This is used as a placeholder in the `self` parameter Template if there is
+ * no definition of a self value of self type.
+ */
def emptyValDef: ValDef
// ------ traversers, copiers, and transformers ---------------------------------------------
Something went wrong with that request. Please try again.