Commit Graph

2176 Commits

Author SHA1 Message Date
Stepan Koltsov fc6c57e17a assert special name is not used to build FQ name 2012-06-02 02:18:29 +04:00
Stepan Koltsov 139e376f7c fix KT-2167 (enum generation)
#KT-2167 fixed
2012-06-02 02:18:29 +04:00
Stepan Koltsov a5eaa3abe3 safer CodegenContext: require contextType to be not null 2012-06-02 02:18:29 +04:00
Stepan Koltsov 2d4ad5e408 EnumGenTest
enum geneneration is partially covered in regression tests, it is not very convenient
2012-06-02 02:18:28 +04:00
Stepan Koltsov 98c80bfc73 do not store descriptors or JetTypes in CallableMethod 2012-06-01 19:18:56 +04:00
Stepan Koltsov ebd04ad046 pass all CallableMethod data in constructor 2012-06-01 19:18:56 +04:00
Stepan Koltsov 3512415f3f replace String with JvmClassName 2012-06-01 19:18:56 +04:00
Andrey Breslav c9583c21cf Merge pull request #62 from NataliaUkhorskaya/master
KT-2124 & KT-2044: Android-related fixes
2012-06-01 07:31:01 -07:00
Stepan Koltsov 59bdeda408 replace String with JvmClassName for readability 2012-06-01 18:04:46 +04:00
Stepan Koltsov 563d5cfd03 better assertion in ExpressionCodegen 2012-06-01 18:04:46 +04:00
Stepan Koltsov aaa03100cf always call single constructor of VariableDescriptorImpl 2012-06-01 18:04:45 +04:00
Stepan Koltsov b984895e78 ScriptCodegen: extract gen constructor 2012-06-01 18:04:45 +04:00
pTalanov a5801198d5 At first add all sources and only then analyze files 2012-06-01 16:27:39 +04:00
pTalanov cbcee10618 K2JSCompiler and K2JSTranslator fixes (mostly codestyle) 2012-06-01 15:19:47 +04:00
Natalia.Ukhorskaya 0490c0b5f5 KT-2124 Fixed : Problem with reusement of local variables in bytecode for shared var 2012-06-01 15:01:15 +04:00
Natalia.Ukhorskaya bacc76944d KT-2044 : "this" added in local variables table in bytecode for local functions also 2012-06-01 13:56:11 +04:00
Nikolay Krasko 8d69af87ce Completion for java inner class names 2012-05-31 19:58:05 +04:00
Stepan Koltsov 95414078b9 MemberCodegen
(move duplicate code into it)
2012-05-31 19:31:40 +04:00
Stepan Koltsov 0f8c449f55 ScriptGenTest: more 2012-05-31 19:31:40 +04:00
Andrey Breslav 6f28638e80 Remove useless ObservableBindingTrace from DI 2012-05-31 19:29:06 +04:00
Andrey Breslav 50d9d0975d Toto added 2012-05-31 17:59:00 +04:00
Andrey Breslav ee96cca49a Members reordered for better structure 2012-05-31 17:58:43 +04:00
Andrey Breslav c307acc75a Unused class removed 2012-05-31 17:58:15 +04:00
Andrey Breslav ca0f2fce8c Root namespace behavior fixed 2012-05-31 16:35:56 +04:00
Andrey Breslav c1e6961d50 PSI-based declaration providers 2012-05-31 16:26:43 +04:00
Dmitry Jemerov b03966e8d0 coerce condition value to Type.BOOLEAN (KT-2147) 2012-05-31 13:59:42 +02:00
Andrey Breslav 33f0a3cee0 JetClassOrObject now has a type-safe Name 2012-05-31 15:29:58 +04:00
Andrey Breslav d3a624b071 Fix compilation yet again
(Not my day, apparently)
2012-05-31 15:22:59 +04:00
Andrey Breslav 7d550980c6 Lazy resolve: Generate fake overrides for functions 2012-05-31 14:29:25 +04:00
Andrey Breslav 5471738dfa Update names to match the generic meaning of the code 2012-05-31 14:29:25 +04:00
Svetlana Isakova 7dab62ec97 KT-2125 Inconsistent error message on UNSAFE_CALL
#KT-2125 fixed
2012-05-31 14:17:48 +04:00
Andrey Breslav 423ed30e91 Fix compilation again 2012-05-31 14:17:26 +04:00
Andrey Breslav 1ab693be09 Fix compilation 2012-05-31 14:10:32 +04:00
Andrey Breslav f2dab93090 Extract method + remove unused parameter 2012-05-31 14:03:45 +04:00
Andrey Breslav 83eaa4deb7 Got rid of a global map for invisible overridden descriptors 2012-05-31 13:50:15 +04:00
Andrey Breslav 9e1c218af2 More precise checks 2012-05-31 13:39:32 +04:00
James Strachan 8ebd632be9 rollback change that broke the build - sorry! :) 2012-05-31 10:30:54 +01:00
James Strachan c4439f33f0 avoided JS compile barf in JS generation and fix compile error of Node vals in generated DOM API 2012-05-31 09:26:55 +01:00
Stepan Koltsov c62193d272 add HashSet to mock rt.jar
it might fix tests
2012-05-30 23:04:56 +04:00
Andrey Breslav 173904d606 Introduced JetNamed to unify named functions and properties 2012-05-30 21:58:46 +04:00
Stepan Koltsov 22be8ad49a do not include error types in hierarchy 2012-05-30 21:47:19 +04:00
Andrey Breslav 5504015025 Preliminary version of lazy resolve
The implementation is incomplete and thus not used anywhere other than the test
2012-05-30 21:09:22 +04:00
Stepan Koltsov 7c0b8876ca fix more errors of incomplete classpath
after this commit project without JDK configured is not all red
2012-05-30 21:04:47 +04:00
Stepan Koltsov a7aeba4e48 JDR: do not crash if signature references nonexistent class 2012-05-30 21:04:47 +04:00
Stepan Koltsov 3a3cbd53d8 JavaDescriptorResolver should not crash if there is no original for alt-header
(before this commit it crashed because package was not searched in alt-headers)

This commit makes JDR ignore alt-header if original is not found
2012-05-30 21:04:47 +04:00
Andrey Breslav 570789512f Even more detailed error messages 2012-05-30 21:02:20 +04:00
Andrey Breslav 37bc10689e Fix instanceof checks after introducing the TypeParameterDescriptor interface 2012-05-30 21:01:33 +04:00
Andrey Breslav ebb0d25b17 Fix compilation 2012-05-30 20:59:25 +04:00
Andrey Breslav ce96502f72 Make APIs available to lazy resolve 2012-05-30 20:57:03 +04:00
Andrey Breslav d95f315e24 getName() always returns null for REFERENCE_EXPRESSIONs 2012-05-30 20:53:04 +04:00