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
|
||||
Reference in New Issue
Block a user