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:
Evgeny Gerashchenko
2014-11-26 18:42:24 +03:00
parent 8cb1c7f0e6
commit 9c880de735
13 changed files with 23 additions and 24 deletions
@@ -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
@@ -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