Fix for KT-14205

If detected unfinished expression it passed through, added warning on action "Convert Java to Kotlin", if Java files contains syntax errors.
This commit is contained in:
Simon Ogorodnik
2016-10-10 19:34:03 +03:00
parent efc0763c2f
commit e7635652bc
6 changed files with 62 additions and 2 deletions
@@ -0,0 +1,8 @@
// ERROR: The expression cannot be a selector (occur after a dot)
class JavaClass {
var v = ""
fun m(s: String) {
s.
this.v.
}
}