Commit Graph

15 Commits

Author SHA1 Message Date
Stepan Koltsov 3748507ac1 disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00
Svetlana Isakova cc244fad94 KT-1191 Wrong detection of unused parameters
KT-1219 Incorrect 'unused value' error in closures
2012-02-24 12:09:02 +04:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Andrey Breslav bff62484b1 KT-1306123.lng or 123.sht is not good name 2012-02-20 21:42:13 +04:00
svtk 34ee879094 KT-1189 StackOverflow in ide 2012-02-03 13:14:28 +04:00
svtk 1d71e820bb KT-1185 Support full enumeration check for 'when' 2012-01-30 13:39:44 +04:00
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