Commit Graph

301 Commits

Author SHA1 Message Date
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
Alex Tkachman 2e0b1863cd KT-940 proper calculation of bridge methods 2012-01-10 19:50:13 +02:00
Alex Tkachman 0af995d79b Merge remote branch 'origin/master' 2012-01-10 17:05:58 +02:00
Alex Tkachman ba6c9be53a KT-958 wrong compilation of 'in' with complex expression under test 2012-01-10 17:05:21 +02:00
Nikolay Krasko fb5771505b KT-758 Show completion of namespaces in import statement 2012-01-10 18:59:42 +04:00
Alex Tkachman 5633f71edc KT-950 wrong call to array-like setter with non-void return type 2012-01-10 15:36:33 +02:00
Alex Tkachman 85ff44676a KT-945 functional parameters used properly on array creation 2012-01-10 14:58:16 +02:00
Andrey Breslav b8fdf6e86b More comprehensible error message 2012-01-10 15:08:47 +04:00
Alex Tkachman a0134fb0f2 KT-944 iterations over empty ranges 2012-01-10 09:33:54 +02:00
Stepan Koltsov 6d7e4cd030 reading constructors from binary classes 2012-01-08 23:21:59 +04:00
Alex Tkachman 5bb56a8abd testing stdlib as part of the build 2012-01-08 16:47:26 +02:00
Alex Tkachman 33f145a83a KT-930 upto/downto for numbers 2012-01-07 21:27:20 +02:00
Stepan Koltsov 09d0780fe6 developer option to exclude sources
to compile stdlib
2012-01-06 21:22:55 +04:00
Stepan Koltsov 430b973458 better error reporting in commandline compiler 2012-01-06 21:22:50 +04:00
Alex Tkachman dba41c2e88 float/double ranges 2012-01-06 15:55:27 +02:00
Alex Tkachman 1d2e237312 KT-925 step methods for integral ranges 2012-01-06 13:11:44 +02:00