Commit Graph

45134 Commits

Author SHA1 Message Date
Stepan Koltsov b1cf0ffcee more class and method signatures, use writer wrapper
(not yet complete)

own writer will be used to write both java and kotlin signatures
2011-12-13 18:28:47 +04:00
Alex Tkachman 8f01bcb9be Merge remote branch 'origin/master' 2011-12-13 16:00:35 +02:00
Alex Tkachman 3419df7d0c a bit more methods (previously broke compilation) 2011-12-13 16:00:22 +02:00
Stepan Koltsov ac29a020e2 do not allow mapping of error type to JVM type 2011-12-13 17:52:38 +04:00
Sergey Ignatov ee2ade0b10 KT-809 Add sure() for call invocation parameters 2011-12-13 17:45:52 +04:00
Alex Tkachman ff055399a7 house keeping 2011-12-13 15:45:18 +02:00
Pavel Talanov 936e3f0d84 support for in operation syntax, refactor, test, range sugar syntax 2011-12-13 17:44:44 +04:00
Pavel Talanov a105792a85 range standard implementation added. tests added. 2011-12-13 17:44:43 +04:00
Pavel Talanov aa35f00843 very simple try/catch/finally support. 2011-12-13 17:44:42 +04:00
Andrey Breslav 739f3b2a36 Root namespace naming problems fixed. Failing test reverted to the initial state 2011-12-13 17:38:57 +04:00
Sergey Ignatov 1479baa868 infer nullity 2011-12-13 17:02:52 +04:00
Sergey Ignatov 440bd26724 explicit conversion for arguments added in array function 2011-12-13 16:47:00 +04:00
Maxim Shafirov c4fd2e564f 1. namespace class should not be accessible from Kotlin despite the fact we don't have kotlin class descriptor for it.
2. testdata is corrected due to the fact frontend has wrong qualified name in trace for root namespace
2011-12-13 16:15:43 +04:00
Alex Tkachman 9d0a2c7243 (slightly modified) contribution of Sergey Ignatov of methods for strings and arrays 2011-12-13 13:26:42 +02:00
Sergey Ignatov e6390dce85 KT-813 Convert arrays correctly 2011-12-13 15:03:55 +04:00
Sergey Ignatov 3d8804a246 also add "std.*" import 2011-12-13 13:42:17 +04:00
Andrey Breslav 54336a285d Minor refactoring while working on prioritized constraints 2011-12-13 12:38:37 +04:00
Alex Tkachman bb00b35e3f asm Type constants moved 2011-12-13 09:46:17 +02:00
Andrey Breslav 7f0de53cfa Debug output removed 2011-12-12 20:55:16 +04:00
Andrey Breslav 6a8e53c3c6 Fixing errors after merge. 2011-12-12 20:54:55 +04:00
Andrey Breslav a5b46f58ca Merge remote branch 'origin/master' 2011-12-12 20:50:11 +04:00
Stepan Koltsov 9f87ea37a8 introduce jet/JetObject class name constant 2011-12-12 19:33:22 +04:00
Stepan Koltsov 226d157705 add one more condition to ErrorUtils.isError
approved by Andrey Breslav
2011-12-12 19:20:05 +04:00
Sergey Ignatov 886db2898f Makefile updated 2011-12-12 19:11:19 +04:00
Alex Tkachman 099c6e3a28 Merge remote branch 'origin/master' 2011-12-12 16:21:17 +02:00
Alex Tkachman c45d08b7e5 fix for KT-796/797 candidate/resultingDescriptor misuse 2011-12-12 16:21:02 +02:00
Andrey Breslav 3d918ba7e5 Docs 2011-12-12 17:37:42 +04:00
Pavel Talanov 7c3de6b855 Support for when as expression. 2011-12-12 16:27:51 +04:00
Pavel Talanov 1d8d6e5146 removed accidentally commited files. 2011-12-12 16:27:50 +04:00
Pavel Talanov b0fbdb05e2 rewrite K2JSTranslator class 2011-12-12 16:27:49 +04:00
Pavel Talanov 024138e759 temporary commit. 2011-12-12 16:27:48 +04:00
Andrey Breslav cab2e9b192 Merge remote branch 'origin/master' 2011-12-12 15:36:05 +04:00
Alex Tkachman 8f46153d39 Merge remote branch 'origin/master' 2011-12-12 13:22:03 +02:00
Alex Tkachman 6889a35fb8 no outer type info 2011-12-12 13:21:47 +02:00
Nikolay Krasko 9ae40b270a KT-795: Insert brackets after applying function completion 2011-12-12 15:16:16 +04:00
Sergey Ignatov eca1f32a55 KT-792 Support autoboxing primitive types (for constructor invocations) 2011-12-12 14:09:10 +04:00
Sergey Ignatov aea06bf980 KT-794 Support autoboxing primitive return types 2011-12-12 13:41:35 +04:00
Sergey Ignatov a70b830e74 cleanup 2011-12-12 13:05:25 +04:00
Sergey Ignatov d1d4a9bd0d KT-543 Support autoboxing primitive types (for method calls) 2011-12-12 12:45:39 +04: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
Nikolay Krasko 182009ab61 KT-768 Code completion for extension functions 2011-12-12 12:12:45 +04:00
Stepan Koltsov 1260ba7a5f writing class signature
P. S. I'm going to refactor/cleanup code after feature is implemented
2011-12-11 23:04:01 +04:00
Stepan Koltsov ae6c8d6f78 move compileJavaAgainstKotlin tests 2011-12-11 22:27:55 +04:00
Stepan Koltsov 98511590f0 fix any in signature
reported by Alex Tkachman
2011-12-11 22:11:51 +04:00
Stepan Koltsov b5bb8ef5d8 working on signature generation for arrays
* more tests
* fix signature generation for Array<Array<Int>>
2011-12-11 21:23:30 +04:00
Alex Tkachman 9511c31cd9 test for KT-789 2011-12-10 09:24:14 +02:00
Stepan Koltsov 8ec998810f varargs
* generate VARARGS flag in FunctionCodegen
* test in CompileJavaAgainstKotlinTest
2011-12-09 19:42:07 +04:00
Stepan Koltsov 7b63f034a3 fix hasDefaultValue annotation parameter name 2011-12-09 19:42:03 +04:00
Maxim Shafirov 3fa6badc3b Tests seem to write data to tmp 2011-12-09 18:38:02 +04:00
Andrey Breslav 8e10536ef9 Constraint priorities introduced. Not used for the time being 2011-12-09 18:15:05 +04:00