Commit Graph

205 Commits

Author SHA1 Message Date
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
Andrey Breslav 4ff84c5974 Read only interface extracted from OverloadResolutionResult 2011-12-16 13:09:30 +04:00
Andrey Breslav 0a2108d4d0 Constraint priorities integrated 2011-12-16 13:09:28 +04:00
Stepan Koltsov b86625a437 writing my signatures 2011-12-14 00:58:17 +04:00
Stepan Koltsov 4f16b5da8c better test 2011-12-14 00:58:13 +04:00
svtk 7b989a91db Merge remote-tracking branch 'origin/master' 2011-12-13 19:43:31 +04:00
svtk a41d33a56c KT-351 Distinguish statement and expression positions 2011-12-13 19:43:20 +04:00
Alex Tkachman c45d08b7e5 fix for KT-796/797 candidate/resultingDescriptor misuse 2011-12-12 16:21:02 +02:00
Alex Tkachman 92d8d2de72 functional list benchmark and part of rewrite of type info codegen for performance reasons 2011-12-12 10:40:42 +02:00
Alex Tkachman 9511c31cd9 test for KT-789 2011-12-10 09:24:14 +02:00
Alex Tkachman 88bda09504 $typeInfo field better be protected 2011-12-09 12:27:50 +02:00
Andrey Breslav 744253bcd3 StackOverlowes fixed with FQNames remembered in trace 2011-12-09 13:51:44 +04:00
Alex Tkachman 602aea0467 KT-707 default params for constructors 2011-12-08 19:22:09 +02:00
Stepan Koltsov 0656f1f0e0 writing java method signatures
All tests pass, but it does not mean nothing is broken.
2011-12-08 04:31:44 +04:00
Alex Tkachman 43885f0955 KT-769, KT-773 wrong compilation of when 2011-12-07 20:34:48 +02:00
Stepan Koltsov c76463256b refactor tests 2011-12-07 22:27:42 +04:00
Stepan Koltsov b2917154e0 extract file utils 2011-12-07 22:27:38 +04:00