Commit Graph

357 Commits

Author SHA1 Message Date
svtk ee2fdbf0a9 Merge remote-tracking branch 'origin/master' 2011-12-27 17:00:54 +04:00
svtk 979dfdcd1e resolve of import all members from objects and variables 2011-12-27 17:00:43 +04:00
Andrey Breslav 7fcae64766 Parser test data fixed 2011-12-27 15:20:31 +04:00
Andrey Breslav 1704247534 Merge remote branch 'origin/master'
Conflicts:
	idea/testData/checker/RecursiveTypeInference.jet
2011-12-27 15:00:33 +04:00
svtk 7060f6ef80 Added imports resolve from objects and variables 2011-12-27 14:35:52 +04:00
Andrey Breslav f45c6171ba Resolve test data fixed 2011-12-27 14:17:23 +04:00
Andrey Breslav 8cad00a021 Merge remote branch 'origin/master' 2011-12-27 11:46:22 +04:00
Andrey Breslav fa5be15852 Diagnostics test data fixed 2011-12-26 19:55:29 +04:00
Andrey Breslav 3b0ca42e0b jet.typeinfo.TypeInfo -> jet.TypeInfo 2011-12-26 18:59:48 +04:00
svtk 90e5c03389 Merge remote-tracking branch 'origin/master' 2011-12-26 18:37:27 +04:00
svtk 36f50fa594 KT-819 Redeclaration error for extension properties with the same name and different receivers 2011-12-26 18:37:21 +04:00
Andrey Breslav eb0ded778c Merge remote-tracking branch 'origin/master' 2011-12-26 02:30:56 +04:00
Andrey Breslav 072546ed5d KT-868 unable to add a 'size' and 'empty' property to java.util.Map via extension methods 2011-12-26 02:30:51 +04:00
Alex Tkachman 41f9a71777 modules property instead of defineModules in Module DSL 2011-12-25 21:53:36 +02:00
Alex Tkachman f40cf97279 fix for KT-870 - when without parameter 2011-12-25 15:55:57 +02:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
Andrey Breslav 2d1c529dd1 Merge remote-tracking branch 'origin/master' 2011-12-21 11:37:40 +02:00
Andrey Breslav a3880923e1 GreatSyntacticShift: Disable complex token merging in type ref parsing, to fulfill kt307.jet test 2011-12-21 11:30:06 +02:00
Andrey Breslav 46832aaa5d GreatSyntacticShift: Resolve test data fixed 2011-12-21 11:08:31 +02:00
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
Alex Tkachman 4fb7d95247 commented test for KT-857 2011-12-21 10:05:26 +02:00
Stepan Koltsov 0655a5de85 reading abstract and final modifiers from binary classes 2011-12-21 00:07:00 +04:00
Stepan Koltsov c858de758e reading varargs
generics do not work yet:

===
fun <P> varargGeneric(a: Int, vararg b: P) = 1
===
2011-12-20 23:28:46 +04:00
Stepan Koltsov 6bee77715d reading functions with default args 2011-12-20 23:00:12 +04:00
Andrey Breslav 6aad3b2662 GreatSyntacticShift: Codegen testdata fixed 2011-12-20 22:56:13 +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
Stepan Koltsov 914b5487b4 one more ext function test 2011-12-20 22:39:21 +04:00
svtk 49f8021c56 Merge remote-tracking branch 'origin/master' 2011-12-20 20:54:43 +04:00
Stepan Koltsov 02111687d2 missing Trait test in ReadClassDataTest 2011-12-20 20:15:42 +04:00
svtk 66bbddf217 changed imports resolve 2011-12-20 20:14:04 +04:00
Stepan Koltsov d9ceda7743 reading extension functions from binary classes 2011-12-20 20:13:16 +04:00
Andrey Breslav 0134276930 Merge remote branch 'origin/master' 2011-12-20 14:21:59 +04:00
Andrey Breslav 4d4a45f79a KT-860 ConcurrentModificationException in frontend 2011-12-20 14:21:45 +04:00
Alex Tkachman ccdc80d1fe fix for while-loop-ending-with-if bug 2011-12-20 11:23:13 +02:00
Stepan Koltsov c1bc5ceb99 enable class content serialization in ReadClassDataTest; add test for function params with upper bounds 2011-12-20 00:28:27 +04:00
Stepan Koltsov bf751bfa98 read upper bound from jet signature, merge dup code 2011-12-19 21:36:46 +04:00
Alex Tkachman 1e471aa9c4 synchronized method 2011-12-19 10:21:17 +02:00
Alex Tkachman c6b69cad2c test for obsolete KT-772 2011-12-19 07:47:26 +02:00
Alex Tkachman 6039b0e721 test for unreproducable KT-779 2011-12-17 19:02:37 +02:00
Alex Tkachman 9f32a56a07 test for KT-511 2011-12-17 12:40:01 +02:00
svtk 47578b05f9 KT-843 Don't highlight incomplete variables as unused 2011-12-16 14:46:05 +04:00
Alex Tkachman a984b609bc KT-846: better (and correct) names for shared vars 2011-12-16 13:10:20 +04:00
Stepan Koltsov 068780f840 reading class signature (incomplete) 2011-12-16 13:10:15 +04:00
Stepan Koltsov f8c9f24d60 split readClass tests into directories 2011-12-16 13:10:14 +04:00
Stepan Koltsov a8640c1ec4 parse method in/out parameters 2011-12-16 13:10:10 +04:00
Andrey Breslav 55c11d0f44 KT-847 Allow "this" without {} in string templates 2011-12-16 13:10:06 +04:00
Stepan Koltsov 778fa2ed63 test class data reading by comparing serialization to string 2011-12-16 13:09:59 +04:00
Stepan Koltsov 4f9fb2226a skip @JetTypeParameter parameters 2011-12-16 13:09:58 +04:00
Stepan Koltsov a987d197f5 commit missing tests 2011-12-16 13:09:51 +04:00