Commit Graph

258 Commits

Author SHA1 Message Date
svtk 7678815f17 KT-1156 Throwing exception on the right side of elvis operator marks code unreachable 2012-01-26 12:58:14 +04:00
svtk c09806da79 KT-1066 false 'Variable cannot be initialized before declaration' 2012-01-20 14:01:31 +04:00
svtk e6a2b2fc0f //KT-1027 Strange selection of unreachable code 2012-01-17 15:43:11 +04:00
svtk 3a634417b9 KT-776 Wrong detection of unreachable code
KT-1001 Argument 2 for @NotNull parameter of JetFlowInformationProvider.checkIsInitialized must not be null
2012-01-17 15:27:54 +04:00
svtk 2feaaa4f71 KT-897 Don't allow assignment to a property before it is defined 2012-01-10 15:04:57 +04:00
Andrey Breslav 41fd43b5e5 GreatSyntacticShift: Syntax for function types, function literals, when and tuples
Bug:
fun loop(var times : Int) {
   while(times > 0) {
        val u : (value : Int) -> Unit = { // This arrow is confusing the lookahead
            System.out?.println(it)
        }
        u(times--)
   }
}
2011-12-20 22:55:25 +04:00
svtk 47578b05f9 KT-843 Don't highlight incomplete variables as unused 2011-12-16 14:46:05 +04:00
svtk a41d33a56c KT-351 Distinguish statement and expression positions 2011-12-13 19:43:20 +04:00