Commit Graph

416 Commits

Author SHA1 Message Date
Stepan Koltsov 4545c72f69 properly serialize/parse Nothing type 2012-01-25 22:23:46 +04:00
Alex Tkachman 57f99858c6 rewrite of anonymous names 2012-01-25 19:16:12 +02:00
Alex Tkachman 4633e1c7f4 KT-1136 proper generation of accessors 2012-01-25 13:29:16 +02:00
Stepan Koltsov 309b6b3e0e fix erased parameters codegen and parsing 2012-01-24 23:11:14 +04:00
Alefas d3a0b70acd Fixed completion of functions with implicit receiver. 2012-01-24 20:52:44 +04:00
Alex Tkachman 7359388725 KT-1113 proper typeinfo(javaClass) 2012-01-24 18:11:29 +02:00
Alex Tkachman 8176487c93 changed synchronized from extension method to normal one 2012-01-24 14:48:09 +02:00
Alex Tkachman e61a9f62ba crazy bug with constructing object of the same class as calling class 2012-01-24 13:30:38 +02:00
Stepan Koltsov 614ee5d690 java.lang.String in signature should serialized and mapped back to java.lang.String 2012-01-24 00:38:26 +04:00
Stepan Koltsov f21ad2f536 fix couple of bugs in constructor signature serialization/parsing 2012-01-23 22:49:46 +04:00
Stepan Koltsov 4b7f3f718e ReadKotlinBinaryClassTest: fix constructor with type parameter
class ClassWithConstructorAndTypeParameter<P>()
2012-01-23 20:19:37 +04:00
Stepan Koltsov 4767e5c935 split TestlibTest into two tests
* old tests attaches stdlib sources to testlib classpath
* new test compiles stdlib into stdlib.jar and then adds stdlib.jar to testlib classpath
2012-01-23 03:37:09 +04:00
Alex Tkachman 5add400e5e Merge remote branch 'origin/master' 2012-01-20 20:21:25 +01:00
Maxim Shafirov f541cce098 Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore. 2012-01-20 19:17:32 +04:00
Alex Tkachman 35a1240dc7 KT-1018: better handling of property visibility 2012-01-20 14:21:38 +01:00
Stepan Koltsov b6590a3814 codegen: fix calls to global functions when loaded from java descriptors 2012-01-19 18:05:00 +04:00
Alex Tkachman 560e0ad604 possible fix for broken compilation 2012-01-19 10:13:22 +01:00
Alex Tkachman 52b81a15e5 KT-998: wrong codegen for labeled continue/break 2012-01-19 00:01:46 +01:00
Alex Tkachman 9b0ff6b4d8 better location diagnostic of internal errors 2012-01-18 21:27:03 +01:00
Alex Tkachman 86a33f8b16 KT-1076 reversed ranges 2012-01-18 20:01:18 +01:00
Alex Tkachman 1a6f018454 Merge remote branch 'origin/master' 2012-01-18 18:10:52 +01:00
Alex Tkachman a529ad2ac7 KT-1054 comparison of booleans 2012-01-18 18:10:41 +01:00
unknown 16ceb446a3 Fixed completion for method calls.
Initial support of Parameter Info (Ctrl+P) feature (including named parameters reordering).
Todo list:
1. Constructors are not working now (even primary constructor).
2. Tests.
2012-01-18 21:05:30 +04:00
Alex Tkachman 01b405c86a KT-1055 wrong identityEquals codegen 2012-01-18 17:34:48 +01:00
svtk cc3a7448dc KT-657 Semantic checks for when without condition 2012-01-18 19:28:39 +04:00
Stepan Koltsov 33aa343ba7 one more problem in codegen 2012-01-18 12:10:48 +04:00
Stepan Koltsov cfecf50698 useful asserts in codegen 2012-01-18 12:10:37 +04:00
Stepan Koltsov 2d36f30d77 fix compilation of testlib agains stdlib.jar 2012-01-18 12:10:30 +04:00
Stepan Koltsov 106846e868 ReadKotlinBinaryClassTest: nullability 2012-01-18 12:03:58 +04:00
Stepan Koltsov 6ceb6816be ReadKotlinBinaryClassTest: List<*> 2012-01-18 12:03:42 +04:00
Stepan Koltsov 73a1a5a083 fix exception in error type mapper
(reported by Sergey)
2012-01-16 12:47:49 +04:00
Stepan Koltsov 0c4936981a @Nullable annotations 2012-01-15 19:50:52 +04:00
Stepan Koltsov 669ea44c1a write InnerClasses attribute 2012-01-15 18:56:45 +04:00
Stepan Koltsov 882a475ac8 replace JavaClassDescriptor with MutableClassDescriptorLite 2012-01-14 04:27:22 +04:00
Stepan Koltsov 133fc683a4 merge @JetProperty and @JetMethod
because:
* have common parts
* reduce class size

Also add helper JetMethodAnnotationWriter class

And also do not generate @Jet* annotations for closures
2012-01-13 23:56:13 +04:00
Stepan Koltsov 6603a431fa read class data: hide methods
hide inherited Object and jet.JetObject methods, and special static methods
2012-01-13 23:56:08 +04:00
Maxim Shafirov 8e85962856 Don't crash compiling incorrect code. This is very important for jet.as.java.psi component 2012-01-13 17:30:15 +04:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Stepan Koltsov a8137d1a56 fix another case of property resolution, refactoring 2012-01-13 03:55:11 +04:00
Stepan Koltsov 9f8c4eba4c unify Property{Getter,Setter}Descriptor constructors 2012-01-13 03:55:10 +04:00
Stepan Koltsov 9666f4b6cd outdated todo 2012-01-13 03:55:10 +04:00
Stepan Koltsov aa2f2742d5 BothSignatureWriter should write JVM signatures too
(this simplifies body of JetTypeMapper)
2012-01-13 03:55:10 +04:00
Stepan Koltsov 85ec4d980f write generic signature in getters and setters 2012-01-13 03:55:09 +04:00
Stepan Koltsov ec5d5e2dcf working on @JetProperty.type 2012-01-12 07:04:00 +04:00
Stepan Koltsov 200fd78574 ReadClassDataTest: extension properties 2012-01-12 01:25:47 +04:00
Stepan Koltsov f4bf59ff32 NamedFunctionDescriptor 2012-01-12 01:25:42 +04:00
Stepan Koltsov 5e11003ea3 pass -1 to visit maxs to avoid confusion in CodeWindow and test output 2012-01-12 01:25:34 +04:00
Stepan Koltsov fbc7f60af1 enums for primitive types and fix stdlib.jar reading
* PrimitiveType and JvmPrimitiveType enums

* roll up for-each-enum copy-paste lines into loop by enum values

* finish JetStandardLibrary.getPrimitiveArrayJetTypeByPrimitiveJetType for all primitive types
that fixes stdlib.jar loading
2012-01-11 19:36:55 +04:00
svtk 9902200e5e import of members without additional bound to receiver descriptors 2012-01-11 18:37:10 +04:00
Alex Tkachman c318191f5d KT-935 resolved call used on += 2012-01-10 21:14:22 +02:00