Commit Graph

163 Commits

Author SHA1 Message Date
Andrey Breslav 91d10790b4 GreatSyntacticShift: Parser test data fixed 2011-12-21 10:57:09 +02:00
Andrey Breslav 6bad4830c3 Graet Syntactic Shift : Syntax for function literals fixed 2011-12-21 10:52:58 +02: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
Andrey Breslav 55c11d0f44 KT-847 Allow "this" without {} in string templates 2011-12-16 13:10:06 +04:00
Andrey Breslav 49c29dd323 KT-691 Allow to create nested namespaces with dot delimiter 2011-11-30 15:06:55 +03:00
Nikolay Krasko 84cb0a179a KT-622 Add when without condition. (Only changes for parsing were added. A special task for semantic level is KT-657) 2011-11-29 12:48:08 +04:00
Nikolay Krasko 09de9bef20 KT-337 Can't break a line before a dot 2011-11-28 12:59:16 +04:00
Nikolay Krasko 0c758902ef KT-621 Remove .foo() pattern matching from when (Some tests were rewritten) 2011-11-25 17:39:16 +04:00
Stepan Koltsov 70b7810c30 KT-458 Need to improve quoted identifiers support
class `$$$`

should not fail
2011-11-10 16:50:23 +04:00
Andrey Breslav d292b6bcfe KT-193: Guard primary constructor modifier list with a lookahead for LPAR 2011-11-07 19:16:40 +03:00
Andrey Breslav e55b4491ae Test for KT-26 Import namespaces defined in this file 2011-10-28 18:11:52 +04:00
Andrey Breslav fb971ff7cb Tests moved to appropriate locations 2011-10-21 13:37:14 +04:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00