Commit Graph

221 Commits

Author SHA1 Message Date
Stepan Koltsov b644e53725 catch error of string comparison in JetDiagnosticTest 2011-12-31 00:53:22 +04:00
Maxim Shafirov 28d4715db2 Don't depend on project file layout, disable compileEnvironmentTest for now because it messes with stdlib heavily. 2011-12-30 19:58:08 +04:00
Maxim Shafirov b8590ada4f Move close to other stdlib tests 2011-12-30 19:29:29 +04:00
Maxim Shafirov 87748bb0c7 Make sure we write output for the files even if they're in std.* package 2011-12-30 14:28:59 +04:00
Stepan Koltsov 1bb5828613 reading properties info from binary classes
Add final modifier to val backing field
2011-12-30 00:05:32 +04:00
Stepan Koltsov 855142e35d move test output to one level down
for ReadClassDataTest and CompileJavaAgainstKotlinTest
2011-12-30 00:05:25 +04:00
Andrey Breslav 939f9ac279 Merge remote branch 'origin/master' 2011-12-27 21:29:48 +04:00
Andrey Breslav 4579c9826f Reverting problematic commits:
fa500f453d	Alex Tkachman	Today 19:47
725bebc23f	Alex Tkachman	Today 19:36
2011-12-27 21:26:20 +04:00
Stepan Koltsov 617b3b5db5 ReadClassDataTest: type variable resolver 2011-12-27 20:46:43 +04:00
Andrey Breslav 6aafaa1851 JetNamespace eliminated 2011-12-27 20:23:58 +04:00
Alex Tkachman 725bebc23f work in progress on compiler unification between cli and plugin 2011-12-27 17:36:37 +02: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 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
Alex Tkachman f40cf97279 fix for KT-870 - when without parameter 2011-12-25 15:55:57 +02:00
Stepan Koltsov a50067f6cf ReadClassDataTest, working on generics 2011-12-21 22:28:23 +04:00
Andrey Breslav 2d1c529dd1 Merge remote-tracking branch 'origin/master' 2011-12-21 11:37:40 +02:00
Andrey Breslav f73b7522b9 GreatSyntacticShift: CheckerTestUtilTest fixed 2011-12-21 11:26:47 +02:00
Andrey Breslav 4d644f1f0b GreatSyntacticShift: Type checker test data fixed 2011-12-21 11:06:06 +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 ad795d958f check $$TImpl class is not visible through JavaDescriptorResolver 2011-12-21 00:34:50 +04: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
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
svtk 49f8021c56 Merge remote-tracking branch 'origin/master' 2011-12-20 20:54:43 +04:00
svtk c92159bb1f bug with multifile frontend tests fixed 2011-12-20 20:14:47 +04:00
Stepan Koltsov d9ceda7743 reading extension functions from binary classes 2011-12-20 20:13:16 +04:00
Alex Tkachman ccdc80d1fe fix for while-loop-ending-with-if bug 2011-12-20 11:23:13 +02:00
Stepan Koltsov 50400fd707 ReadClassDataTest: trait 2011-12-20 00:28:30 +04: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
Dmitry Jemerov e3cdb05866 remove extension registration which is now taken care of by JavaCoreEnvironment 2011-12-19 17:41:57 +01: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
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 9cdb586c36 fix ReadClassDataTest 2011-12-16 13:10:12 +04:00
Stepan Koltsov a8640c1ec4 parse method in/out parameters 2011-12-16 13:10:10 +04:00
Alex Tkachman c90a6263a1 class object field access 2011-12-16 13:10:07 +04:00
svtk e5b8d0423a KT-816 Add std namespace in to default imports 2011-12-16 13:10:02 +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
Alex Tkachman 314bb73ac9 tests for KT-828 (fromm Sergey Ignatov) 2011-12-16 13:09:43 +04:00
Andrey Breslav 683e511cf3 OverloadResolutionResult is returned from CallResolver instead of descriptors. This makes more information availbale to the caller (useful for better diagnostics). 2011-12-16 13:09:40 +04:00