Erokhin Stanislav
e9b1ae7cb1
JS backend: Move CallTranslator to new package & create CallTranslator object
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
47ed126aa4
JS backend: Move CallInfo extension to separate file.
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
a4436806f7
JS backend: cosmetic changes & class for cases remake to object
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
97955776c4
JS backend: simplify DelegatePropertyAccessIntrinsic
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
5a343841d9
JS backend: add debug info for CallInfo
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
4d287c96d6
JS backend: In CallInfo: receiver1, receiver2 -> ExplicitReceivers. Drop CallInfo.nullableReceiverForSafeCall, move constructSafeCall to extension for CallInfo
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
257d13e90b
JS backend: cosmetic changes & remake fakeCall
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
f268f69cbf
JS backend: Fix cached array access (KT-740-2)
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
5c9bda0f6e
JS backend: Migrate type of alias from JsName to JsExpression
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
ae6fdcc673
JS backend: Fix cache receiver in VariableAccess (KT-740-1)
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
2f1b44ed9e
JS backend: Dropped old CallTranslator
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
2d50858289
JS backend: Use new CallTranslator for build main and test calls
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
39f3a6ec4c
JS backend: Migrate FunctionIntrinsic to CallInfo
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
4e9187779d
JS backend: Optimized CallInfo classes structure
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
7a0f359aa0
JS backend: Use new CallTranslator for ArrayAccessTranslator
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
46a045f969
JS backend: Fix Delegate property - use new CallTranslator
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
42437eb755
JS backend: fix native spread call
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
4bffff43aa
JS backend: Use newCallTranslator for several Translators
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
75dd459bdf
JS backend: Fix tracked used descriptors
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
4617e730d6
JS backend: Use new call translator in CallExpressionTranslator and move invoke intrinsic to FunctionCallCases
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
a1edc0368a
JS backend: simplify canBePropertyAccess method
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
31668406cd
JS backend: drop old property access translator
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
402a9f6c81
JS backend: Use new CallBuilder for property access
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
4527c56f6d
JS backend: Fix super property access call
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
392da838ca
JS backend: Add support for safe call
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
083e789692
JS backend: Add DelegatePropertyAccessIntrinsic
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
740307e94a
JS backend: Add VariableCallCases (not all cases supported)
2014-02-06 14:01:10 +04:00
Erokhin Stanislav
16f97d5c97
JS backend: Add FunctionCallCases
2014-02-06 14:01:09 +04:00
Erokhin Stanislav
ee54e50138
JS backend: Add api for call builder and CallCaseDispatcher
2014-02-06 14:01:09 +04:00
Erokhin Stanislav
21f56365b8
JS backend: Create new CallInfo
2014-02-06 14:01:09 +04:00
Erokhin Stanislav
a500925945
Add notNull annotations to VariableAsFunctionResolvedCall
2014-02-06 14:01:09 +04:00
Evgeny Gerashchenko
ce7e0a7457
Fixed problem with overriding method with non-trivial raw type (when erased type parameter has upper bound)
...
Also added cases for the code which was changed.
2014-02-06 13:52:59 +04:00
Zalim Bashorov
2d31d62163
JS lib: drop es5 shims.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
0812dc8731
JS backend: fixed name clash when override native class.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
bdce3412e3
JS backend: add workaround for mangling Any methods(equals, hashCode and toString) always.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
bc273ddd75
JS backend: fixed using the stable mangling for extra cases.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
2fe5f63924
JS backend: rename test mangling -> manglingStability. And make it independent of structure of generated code.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
77277ce197
JS backend: removed the unnecessary main function from some tests.
2014-02-06 12:21:12 +04:00
Andrey Breslav
8dc9aecbf8
DescriptorSearchRule removed
2014-02-05 18:12:01 +04:00
Andrey Breslav
aa0dde3a78
Old implementation of JavaDescriptorResolver deleted
2014-02-05 18:12:01 +04:00
Andrey Breslav
9f918d48b5
JavaDescriptorResolver always uses lazy mode
2014-02-05 18:12:01 +04:00
Andrey Breslav
76c722b81c
Utilities moved closer to their usages and rewritten to Kotlin
2014-02-05 18:12:00 +04:00
Andrey Breslav
e119ca27ca
AnnotationLoadingUtil created. Relevant code/constants moved there
2014-02-05 18:11:51 +04:00
Andrey Breslav
aed1ccf771
getKotlinBuiltinClassDescriptor() moved to DescriptorResolverUtils
2014-02-05 18:07:35 +04:00
Andrey Breslav
3d1f2c25e2
resolveCompileTimeConstantValue() rewritten to Kotlin
2014-02-05 18:07:35 +04:00
Andrey Breslav
6aca05023a
OBJECT_FQ_NAME moved to DescriptorResolverUtils
2014-02-05 18:07:35 +04:00
Andrey Breslav
ab3b8d63df
ExternalAnnotationResolver is enough to look for external annotations
2014-02-05 18:07:35 +04:00
Pavel V. Talanov
6c96d235ec
Tests: add complex tests for references to libraries
...
These tests check that that complex references (var p by delegate, for in collection, array[index]) are resolved correctly when target descriptors have type parameters
See 41f9dcba91
#KT-4505 Fixed
2014-02-05 17:15:14 +04:00
Alexey Sedunov
7e1c9194f1
Implement navigation to references from Call Hierarchy view
...
#KT-4518 Fixed
2014-02-05 16:28:16 +04:00
Pavel V. Talanov
c6c1389144
Imports on copy/paste UI: do not show misleading icon in dialog
2014-02-05 12:42:19 +04:00