Alexander Udalov
9503056dd5
Add default import "kotlin.reflect"
2014-05-19 19:50:57 +04:00
Andrey Breslav
aa20af3cf3
Minor. Unused code removed
...
Follow-up for https://github.com/JetBrains/kotlin/commit/db00500404e4862548ed5eb49f7289e1e8eba99c#commitcomment-6242775
2014-05-12 19:02:17 +04:00
Zalim Bashorov
399c9c1175
JS backend: fixed compiler crash when use compareTo in infix call.
...
#EA-54661 fixed
2014-05-08 19:57:28 +04:00
Zalim Bashorov
a578fc6762
JS backend: fixed infix calls.
...
#KT-3998 fixed
#EA-56241 fixed
2014-05-08 19:57:28 +04:00
Zalim Bashorov
898275e658
JS backend: added tests for infix calls.
...
#KT-3998 in progress
#EA-56241 in progress
2014-05-08 19:57:28 +04:00
Zalim Bashorov
235b03c407
Minor in JS backend: added useful message to assert(for EA-48931) and drop unnecessary code.
2014-05-08 19:57:27 +04:00
Alexander Udalov
c7277250d9
Use ReflectionTypes instead of KotlinBuiltIns in type checker
2014-05-08 16:45:15 +04:00
Zalim Bashorov
d02e4bd1ec
Minor in JS backend: added test for the overriding in data class.
2014-05-06 15:45:28 +04:00
Peter Rybin
ab81d2e261
Supporting data class for JS backend
2014-05-06 15:45:28 +04:00
Alexander Udalov
42d167d17e
Add missing copyrights across the project
2014-05-05 20:43:35 +04:00
Andrey Breslav
db00500404
Unused code removed
2014-04-30 16:30:17 +04:00
Svetlana Isakova
703e4d7c4e
Refactoring: separated VariableAsFunctionResolvedCall interface and implementation
2014-04-30 13:34:32 +04:00
Andrey Breslav
bac82935c3
Minor. Unused method removed
2014-04-29 19:12:56 +04:00
Ilya Ryzhenkov
d06b9abd4f
Add platform independent part of Range tests to JS stdlib test run
2014-04-24 12:59:43 +04:00
Ilya Ryzhenkov
ee8a7d6825
Include Ranges extension functions and Numbers NaN checks for JS
2014-04-24 12:59:43 +04:00
Ilya Ryzhenkov
aee199b5b0
Add reverse() function to js version of StringBuilder
2014-04-24 12:59:40 +04:00
Ilya Ryzhenkov
962a738f1e
Fix js RangeIterator and NumberProgression.
2014-04-24 12:59:40 +04:00
Andrey Breslav
4839f7a230
Make lazy analysis accessible to clients
2014-04-18 21:28:22 +04:00
Andrey Breslav
7d688e5bec
LazyTopDownAnalyzer extracted as a separate component
2014-04-18 21:28:21 +04:00
Andrey Breslav
c57243035e
Factory method introduced for TopDownAnalysisParameters
2014-04-18 21:28:21 +04:00
Alexander Udalov
34e7584aec
Move some utilities from OverridingUtil to OverrideResolver
...
OverridingUtil will be present at runtime and we should strive to minimize the
size of our runtime classes
Also add a comment to getOverriddenDescriptors()
2014-04-17 19:51:30 +04:00
Zalim Bashorov
23922c1387
Fixed line separators for fix maven build on Windows.
2014-04-16 20:33:42 +04:00
Zalim Bashorov
336ff43b26
JS backend: - test both versions of Set(Complex and Primitive)
...
- added size in PrimitiveSet
- fixed contains in PrimitiveSet
#KT-4796 fixed
2014-04-02 17:50:40 +04:00
Andrey Breslav
b8119a57ab
Script parameters supported in LAZY mode
2014-04-01 12:36:51 +04:00
Andrey Breslav
77261330b9
Only use script parameters from definition
...
Passing parameters of a _single_ script into TopDownAnalyser makes no sense
2014-04-01 12:25:33 +04:00
Andrey Breslav
6ac2e2da8a
Support scripts in LAZY mode
2014-04-01 12:25:32 +04:00
Andrey Breslav
76e286aacc
ScriptParameterResolver extracted
2014-04-01 12:25:31 +04:00
Andrey Breslav
9a1f8b9cc6
Trace is not injected into ScriptBodyResolver any more
2014-04-01 12:25:31 +04:00
Zalim Bashorov
fd165f055f
Minor in JS backend:
...
- use constants from Namer in JsAstUtils#createPackage;
- dropped extra JsInvoke node when create IIF;
- create new JsName for Kotlin object in IIF scope.
2014-03-31 16:07:55 +04:00
Zalim Bashorov
0a546ebb40
Merge pull request #428 from alextkachman/kotlin-as-var
...
added Kotlin as parameter for module wrapping function
2014-03-31 15:58:18 +04:00
Zalim Bashorov
0d61fbb8f7
Merge pull request #427 from alextkachman/master
...
Avoid unnecessary null checks in'!!' and 'as'
2014-03-31 15:57:24 +04:00
Nikolay Krasko
b779141845
Refactoring: move methods about override to OverridingUtil
2014-03-31 14:09:50 +04:00
Alex Tkachman
82a25c8b07
added Kotlin as parameter for module wrapping function. this is for better obfuscation
2014-03-31 10:25:02 +03:00
Alex Tkachman
371dfc6ec4
avoid unnecessary null checks when receiver of '!!' or 'as' operator is not nullable
2014-03-29 21:28:00 +03:00
Andrey Breslav
298ddcf0ad
Do not resolve annotation arguments when only a type is requested
...
This replaces the logic that always did complete constructor call resolution by a request to typeResolver when only a type is needed
2014-03-26 21:10:29 +04:00
Andrey Breslav
1cdfab761a
Lazy annotation resolution supported
2014-03-26 21:10:29 +04:00
Andrey Breslav
27d4e583a8
Unneeded field removed
2014-03-26 21:10:28 +04:00
Andrey Breslav
df1f0886c5
Inject a project into TDA for proper lazy session initialization
2014-03-26 21:10:27 +04:00
Pavel V. Talanov
246466bdc5
Implement stub based package declaration provider for lazy resolve
...
Implement StubPackageMemberDeclarationProvider
Introduce DeclarationProviderFactoryService to provide difference factories in CLI and Plugin
When indexing treat top level declarations without name specially so that they can be found in index
Implement PluginDeclarationProviderFactoryService which uses file based approach for non indexed files and stub based for others
2014-03-24 17:51:38 +04:00
Andrey Breslav
2a724a6eb4
Filename case fixed
2014-03-20 11:28:32 +04:00
Svetlana Isakova
3a14ab0af3
Removed ExpressionAsFunctionDescriptor
2014-03-20 10:06:03 +04:00
Svetlana Isakova
f311da3f8f
Supported invoke on expressions on js backend
2014-03-20 10:06:00 +04:00
Alexander Udalov
1c5df773c5
Disallow named arguments for Java methods
...
Since they don't have stable names: they're (sometimes) loaded from the
bytecode, which (sometimes) doesn't contain parameter names
2014-03-19 23:24:28 +04:00
Ilya Ryzhenkov
6650b641ea
Teach JetTestFunctionDetector to understand subclasses
2014-03-19 20:25:12 +04:00
Ilya Ryzhenkov
06873e9d09
Library paths updated after migration to new stdlib generators
2014-03-19 20:25:12 +04:00
Ilya Ryzhenkov
e37d8174c3
New stdlib generators
2014-03-19 20:25:11 +04:00
Ilya Ryzhenkov
b60fd5acc1
Stable order in generated code for JS library
2014-03-19 20:25:10 +04:00
Zalim Bashorov
d728f6ba92
JS backend: using JetPsiFactory instead of JetFileUtils. Drop JetFileUtils.
2014-03-19 17:36:45 +04:00
Zalim Bashorov
9bc5cc60ee
JS stdlib: added some JSDoc annotations to handwritten js files.
2014-03-19 17:36:44 +04:00
Zalim Bashorov
31d8a75b1a
Minor in JS backend: moved the Kotlin.modules declaration from koltin_lib.js to koltin_lib_ecma5.js
2014-03-19 17:36:43 +04:00