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
c857785910
KT-1002 If there's no return in function highlight only last token but not last statement
2012-03-09 12:20:10 +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
svtk
255e37efb9
KT-799 Allow 'return' expressions in conditionals assigned to variables
2012-02-09 12:58:17 +04:00
svtk
11ad28812d
KT-1175 Mark unused literals
2012-01-27 18:32:55 +04:00
svtk
936a081bae
KT-1075 No type check for 'in range' condition in 'when' expression
2012-01-20 12:10:34 +04:00
svtk
cc3a7448dc
KT-657 Semantic checks for when without condition
2012-01-18 19:28:39 +04:00
svtk
becd713111
KT-234 Force when() expressions to have an 'else' branch
...
KT-973 Unreachable code
2012-01-18 13:31:42 +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
20d339e2da
KT-786 Exception on incomplete code with 'when'
2011-12-16 13:09:34 +04:00
svtk
a41d33a56c
KT-351 Distinguish statement and expression positions
2011-12-13 19:43:20 +04:00