Commit Graph

4515 Commits

Author SHA1 Message Date
Pavel Talanov 6b533771f0 switch to using ValueParameterDescriptor instead of JetParameter when translating function declarations
implemented support for implicit 'it' parameter
added 'clear' function to ArrayList temporary implementation
2012-01-06 14:56:23 +04:00
Pavel Talanov 17e80963d2 changed tests not to use std lib for now /*all tests pass*/ 2012-01-06 14:05:15 +04:00
Pavel Talanov b5bbcde199 resolved part of the problem 2012-01-06 14:01:31 +04:00
Pavel Talanov c12e37f227 migrated tests to new syntax /*tests fail due to migrated size problem*/ 2012-01-06 13:59:53 +04:00
James Strachan ab47bee033 minor tweak to docs 2012-01-06 09:46:58 +00:00
James Strachan 4627738ca4 added support for fold() along with a handy expect() test method (like scalatest) 2012-01-06 09:35:44 +00:00
James Strachan 16b617044c disabled test for KT-924 for now as its a new feature, not a bug 2012-01-06 09:10:07 +00:00
Alex Tkachman 9fbf27eb11 KT-821 and other improvements for ranges 2012-01-05 18:34:32 +02:00
James Strachan 89933439f4 added an attempt to use the standard APIs on kotlin.Iterable 2012-01-05 12:15:27 +00:00
James Strachan ac276e08ba avoid double close and added TODO about supporting http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html#suppressed-exceptions 2012-01-05 09:10:11 +00:00
Alex Tkachman ebe2c375cd KT-274 stdlib part and commented test. Still require frontend test 2012-01-05 00:16:25 +02:00
James Strachan 79049ca2e2 avoid double close and added TODO about supporting http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html#suppressed-exceptions 2012-01-04 16:50:25 +00:00
James Strachan 1889672363 use java.util.HashMap directly 2012-01-04 16:49:19 +00:00
James Strachan e73e81c526 added support for map[key] = value on java.util.Map 2012-01-04 16:14:49 +00:00
Pavel Talanov 3a259131c1 migrated from JetNamespace to NamespaceDescriptor and JetFile /* Lots of tests fail due to: missing array methods and unconverted tests*/ 2012-01-04 17:31:46 +04:00
James Strachan 1cd8f3c2ba Merge remote-tracking branch 'origin/master' 2012-01-04 12:59:47 +00:00
James Strachan 8c40aa58af added working test casres for groovy style markup builders 2012-01-04 12:59:37 +00:00
Alex Tkachman d0b1f3cb79 Merge remote branch 'origin/master' 2012-01-04 14:29:34 +02:00
Alex Tkachman 3fd825d1a0 KT-873 fixing wrong register calculations 2012-01-04 14:29:21 +02:00
James Strachan 8cfc979c10 Merge remote-tracking branch 'origin/master' 2012-01-04 11:49:44 +00:00
James Strachan 302254f531 enabled test case for auto-closing helper method on Closable.foreach 2012-01-04 11:49:34 +00:00
Pavel Talanov dbf9bbe2bb fix some code after update 2012-01-04 15:13:52 +04:00
Alex Tkachman 629cdfc822 KT-865 extension function as unary operation 2012-01-04 12:54:10 +02:00
Alex Tkachman 49bad83c42 Merge remote branch 'origin/master' 2012-01-04 12:12:20 +02:00
Alex Tkachman 15fde646c1 KT-864 wrong namespace class name generation 2012-01-04 12:12:02 +02:00
James Strachan 2bc5efce12 add java.util.Map's size and empty properties 2012-01-04 09:36:14 +00:00
James Strachan bf29d48772 removed a TODO 2012-01-04 09:00:03 +00:00
Alex Tkachman b2593b268e KT-715. T.javaClass & TypeInfo.javaClassForType 2012-01-04 10:17:40 +02:00
Stepan Koltsov c85be68047 move typeinfo annotations
annotations should not be used by developers, so place them under jet.runtime package
2012-01-04 02:39:50 +04:00
Stepan Koltsov e373d215d6 remove noise after 0b93c1f8e8 2012-01-03 22:09:12 +04:00
Stepan Koltsov 3cd0939530 fix tests
(I don't understand why tests passed before)
2012-01-03 22:02:42 +04:00
Stepan Koltsov 74e72fbbc6 fix comparable signature generation
fix todo by Alex Tkachman 2ec54436c5
2012-01-03 21:15:26 +04:00
Stepan Koltsov a7a1bd2102 omit generic signature for simple methods 2012-01-03 21:15:21 +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
Stepan Koltsov 72192bf67b ignore vim buffer files 2012-01-03 17:16:39 +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
Alex Tkachman e29c54cb6e Merge remote branch 'origin/master' 2011-12-31 00:55:27 +02:00
Stepan Koltsov 94ef40fc51 safer toString in classes 2011-12-31 00:53:43 +04:00
Stepan Koltsov 0f1b534d7b rename ModuleBuilder.sourceFiles
Currently invalid bytecode is generated, see
http://youtrack.jetbrains.net/issue/KT-904
for details.
2011-12-31 00:53:36 +04:00
Stepan Koltsov 07281691b5 fix error reporting in CodegenTestCase 2011-12-31 00:53:32 +04:00
Stepan Koltsov b22ec83b15 split ResolveToJava.jet into smaller test 2011-12-31 00:53:28 +04:00
Stepan Koltsov b644e53725 catch error of string comparison in JetDiagnosticTest 2011-12-31 00:53:22 +04:00