Compilation errors are rendered to log without "Kotlin:ERROR:" prefix and without path to file. Sometimes javac adds path to file, sometimes doesn't. This had led tests to fail on some platforms.
This commit is contained in:
+2
-2
@@ -11,5 +11,5 @@ Compiling files:
|
||||
src/Sub.kt
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
Kotlin:ERROR:Cannot weaken access privilege 'public' for 'y' in 'Super'
|
||||
Kotlin:ERROR:'y' hides member of supertype 'Super' and needs 'override' modifier
|
||||
Cannot weaken access privilege 'public' for 'y' in 'Super'
|
||||
'y' hides member of supertype 'Super' and needs 'override' modifier
|
||||
@@ -15,4 +15,4 @@ src/willBeResolvedToOther.kt
|
||||
src/willBeUnresolved.kt
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
Kotlin:ERROR:Unresolved reference: f
|
||||
Unresolved reference: f
|
||||
+4
-4
@@ -17,7 +17,7 @@ src/usageWithFunctionExpression.kt
|
||||
src/usageWithFunctionLiteral.kt
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
Kotlin:ERROR:Expression 'SamInterface' cannot be invoked as a function. The function invoke() is not found
|
||||
Kotlin:ERROR:Please specify constructor invocation; classifier 'SamInterface' does not have a class object
|
||||
Kotlin:ERROR:Expression 'SamInterface' cannot be invoked as a function. The function invoke() is not found
|
||||
Kotlin:ERROR:Please specify constructor invocation; classifier 'SamInterface' does not have a class object
|
||||
Expression 'SamInterface' cannot be invoked as a function. The function invoke() is not found
|
||||
Please specify constructor invocation; classifier 'SamInterface' does not have a class object
|
||||
Expression 'SamInterface' cannot be invoked as a function. The function invoke() is not found
|
||||
Please specify constructor invocation; classifier 'SamInterface' does not have a class object
|
||||
@@ -9,6 +9,6 @@ Compiling files:
|
||||
src/WillBeUnresolved.java
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
java:ERROR:$PROJECT/src/WillBeUnresolved.java:3: cannot find symbol
|
||||
cannot find symbol
|
||||
symbol : method f(java.lang.String)
|
||||
location: class test.TestPackage
|
||||
+1
-1
@@ -8,4 +8,4 @@ Compiling files:
|
||||
src/Sub.java
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
java:ERROR:$PROJECT/src/Sub.java:2: y() in Sub cannot override y() in Super; overridden method is final
|
||||
y() in Sub cannot override y() in Super; overridden method is final
|
||||
@@ -9,6 +9,6 @@ Compiling files:
|
||||
src/WillBeUnresolved.java
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
java:ERROR:$PROJECT/src/WillBeUnresolved.java:3: cannot find symbol
|
||||
cannot find symbol
|
||||
symbol : method getProp()
|
||||
location: class test.TestPackage
|
||||
location: class test.TestPackage
|
||||
Reference in New Issue
Block a user