Commit Graph

234 Commits

Author SHA1 Message Date
Alex Tkachman b2593b268e KT-715. T.javaClass & TypeInfo.javaClassForType 2012-01-04 10:17:40 +02:00
Stepan Koltsov 3cd0939530 fix tests
(I don't understand why tests passed before)
2012-01-03 22:02:42 +04:00
Stepan Koltsov 526df9ca80 fix copy-paste in tests
WriteSignatureTest
CompileJavaAgainstKotlinTest
ReadClassDataTest
2012-01-03 21:15:15 +04:00
Stepan Koltsov 52400dbd1e explicit test for java signature writing
(partially replaces CompileJavaAgainstKotlinTest)
2012-01-03 21:15:12 +04:00
Stepan Koltsov f4b7c0b081 fix blinking ReadClassDataTest 2012-01-03 18:46:31 +04:00
Stepan Koltsov 7325285813 read properties from binary classes
(intermediate version)
2012-01-03 17:16:50 +04:00
Alex Tkachman 2ec54436c5 KT_887 fix. jet.Comparable mapped to j.l.Comparable 2012-01-03 12:34:12 +02:00
Alex Tkachman e576423c8e KT-903 test. unreproducable 2012-01-02 14:47:58 +02:00
Alex Tkachman cde54d59bd KT-877 - wrong codegen for unary plus 2012-01-02 09:49:04 +02:00
Alex Tkachman c3725054eb test for obsolete KT-889 2012-01-02 09:36:13 +02:00
Alex Tkachman a25416e5cf KT-894 wrong string concatenation 2012-01-02 09:27:32 +02:00
Alex Tkachman 12af19e991 KT-881 overoptimized + in string templates 2012-01-02 08:35:54 +02:00
Stepan Koltsov 07281691b5 fix error reporting in CodegenTestCase 2011-12-31 00:53:32 +04:00
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