Svetlana Isakova
4f2df78066
analyze all function arguments without expected types
...
arguments are now analyzed for several times, for each resolution candidate;
the goal is to analyze them once
todo (don't work properly):
- number literals
- if/when expressions
2013-09-02 23:18:42 +04:00
Svetlana Isakova
543e0343c5
moved ResolveMode, ResolutionResultsCache
...
from CallResolutionContext to ResolutionContext
2013-09-02 23:18:42 +04:00
Nikolay Krasko
6641563044
Store files with the replaced version in separate folder to prevent putting them to artifacts
2013-09-02 15:31:06 +04:00
Nikolay Krasko
e54784efcc
Convert line separators when checking test results
2013-09-02 15:31:05 +04:00
Nikolay Krasko
215e736d65
Enable debug for slice rewrite in delegation traces
2013-09-02 15:31:04 +04:00
Evgeny Gerashchenko
440716c817
Updated to IDEA 132.27 EAP.
2013-08-30 21:08:23 +04:00
Pavel Talanov
e29c593c58
Fix check in JetQuickDocumentationProvider#isKotlinDeclaration
...
Always return true if we navigated to JetElement
2013-08-30 17:41:38 +04:00
Pavel Talanov
1072b1943f
Provide sources of dependency in AbstractJavaWithLibCompletionTest
...
Test compiles dependency before running
2013-08-30 17:41:37 +04:00
develar
3bf32c09a9
JS backend: added ability to debug kotlin code in browser with using JavaScript Debugger configuration.
...
(cherry picked from commit 8537ce4, 72eeb92)
2013-08-30 13:18:13 +04:00
develar
b3658472ac
JS backend: improved sourcemap generation and moved SourceMap3Builder and JsSourceGenerationVisitor to kotlin sources from dart-ast(develar fork).
...
#KT-927 in progress
(cherry picked from commit 10fb0f9)
2013-08-30 13:18:12 +04:00
develar
e05ffd03c3
JS backend: sourcemap should use absolute file urls.
...
#KT-927 in progress
(cherry picked from commit 8931d26)
2013-08-30 13:17:53 +04:00
develar
3ab095a4f5
JS backend: started to implement source maps
...
#KT-927 in progress
(cherry picked from commits 5543cda, 6ed296b, 11186f9, 5b84d0b)
2013-08-30 13:17:20 +04:00
develar
e39943f9bd
JS backend: report expression location on error in StringTemplateTranslator.
...
(cherry picked from commit a2765d3)
2013-08-29 21:45:27 +04:00
develar
1c173c5224
JS backend: improve compilation performance -- don't create extra list.
...
(cherry picked from commit 2d7cb8a and f3d9f73)
2013-08-29 21:45:27 +04:00
develar
4f9485b40e
JS backend: fixed bug when explicitly use invoke method in function literal call.
...
(cherry picked from commit f832cee)
2013-08-29 21:45:27 +04:00
develar
f08cb5f6ca
JS backend: inline private class ExtensionCallConstructor to place of use.
...
(cherry picked from commit 4d17e96)
2013-08-29 21:45:26 +04:00
develar
92e76d18d9
JS backend: change name mangling -- right now before indexing we sort functions by Visibility and Modality.
...
(cherry picked from commit 7620a07)
2013-08-29 21:45:26 +04:00
develar
8789a0d648
JS backend: refactoring 'is' operator translation.
2013-08-29 21:45:26 +04:00
develar
df0a218015
JS backend: generate ref for not public api open classes as ref to internal class pool (_c var), but not to namespace definition.
...
(cherry picked from commit fa3db43)
2013-08-29 21:45:25 +04:00
develar
c27fb10f5a
JS backend: improve and move getQualifiedReference function from TranslationUtils to TranslationContext and StaticContext.
...
(cherry picked from commit fa3db43)
2013-08-29 21:45:25 +04:00
develar
3f0c1b2645
JS backend: elvis operator must compare value with undefined.
...
(cherry picked from commit 3978a8e)
2013-08-29 21:45:24 +04:00
develar
4b0cbb5dbf
JS backend: removed unnecessary code -- the "toStringHack" Role
...
(cherry picked from commit 902d323)
2013-08-29 21:45:24 +04:00
develar
6ff784efc1
JS backend: fixed wrong @lends annotation when using nested packages.
2013-08-29 21:45:24 +04:00
develar
b122893823
JS backend: fixed closure variables in object which declared in another object in method.
...
(cherry picked from commit f3e8325)
2013-08-29 21:45:23 +04:00
develar
39ccf418c0
JS backend: don't create local var if open class is not referenced from another open class.
...
(cherry picked from commit fdf650f)
2013-08-29 21:45:23 +04:00
develar
43db01d7ce
JS backend: don't create namespace entry if it is empty.
...
(cherry picked from commit 79d9ef4)
2013-08-29 21:45:22 +04:00
develar
481cee16c5
JS backend: ensure enumerability for object literal properties.
...
Namespace lends annotation improved (root).
(cherry picked from commit 246c001)
2013-08-29 21:45:07 +04:00
develar
0daf2c6a79
JS backend: added @lends annotation for namespace members (ecma5 only)
...
(cherry picked from commit 9ae9a60)
2013-08-29 21:25:15 +04:00
develar
39a135c824
JS backend: support object declaration in other declarations.
...
#KT-2696 fixed
(cherry picked from commits 8931d13, 627b100 and f6b8686)
2013-08-29 21:25:15 +04:00
develar
4544990188
JS backend: refactoring -- prepare to fix KT-2696
2013-08-29 21:24:10 +04:00
develar
92eb4a5f1f
JS backend: fixed wrong behavior when using nullable type in string template.
...
(cherry picked from commit 3a16e95)
2013-08-29 21:20:08 +04:00
Zalim Bashorov
596e0b0acc
JS backend: cleanup -- drop NUL symbols
2013-08-29 21:20:08 +04:00
Andrey Breslav
1e91fb8d27
Using annotations from reexported libraries
2013-08-29 20:30:34 +04:00
Andrey Breslav
323bbe00cc
Constants moved to the top
2013-08-29 20:30:33 +04:00
Natalia.Ukhorskaya
fa4d771a94
Merge remote-tracking branch 'origin/pr/303'
2013-08-29 19:44:08 +04:00
Mohammad Shamsi
32c34a3740
KT-3893 Fixed
...
- Added modifier check for parameters in constructors.
- Added modifier check for parameters in functions.
- Added modifier check for parameters in try/catch
2013-08-29 22:08:26 +08:00
Alexander Udalov
9e7aa69eb7
Resurrect JetValueParameter
...
Its name() and type() methods are still used in Kara (the latter just to check
if the type is nullable, so only the first character is needed)
2013-08-29 16:48:09 +04:00
Alexander Udalov
d84ab4423f
Support enums as annotation arguments in deserialized Kotlin descriptors
2013-08-29 16:48:09 +04:00
Alexander Udalov
de062274e9
Extract getEnumEntriesScope utility method
2013-08-29 16:48:09 +04:00
Nikolay Krasko
c0a30929c1
Add ability to configure build type id for downloading bootstrap compiler
2013-08-29 16:08:29 +04:00
Nikolay Krasko
c246c325f4
Add dependency for idea module from kotlin runtime
2013-08-29 14:11:35 +04:00
Nikolay Krasko
05e48d5d77
Setup downloading kotlin plugin
...
TeamCity will use downloaded jps plugin for build
2013-08-29 14:11:30 +04:00
Andrey Breslav
87293a8831
Navigation to invoke() from {}
...
Example:
foo <caret>{}
2013-08-28 15:26:47 +04:00
Andrey Breslav
a53986e1d6
Navigation to iterator(), next(), hasNext() through 'in' in for-loops
2013-08-28 14:46:58 +04:00
Andrey Breslav
6fcccff31b
Common code extracted
2013-08-28 14:13:36 +04:00
Andrey Breslav
b7153d7398
Common methods related to references are pulled up
2013-08-28 13:57:56 +04:00
Andrey Breslav
aa6a509e8d
A navigation test for one fake override
2013-08-28 13:52:46 +04:00
Andrey Breslav
9fa8ee10dc
Tests for navigation to property delegates' accessors
2013-08-28 13:49:52 +04:00
Andrey Breslav
d19b3a5628
Do not break the string after REF: by commas
...
Example:
// REF: (in Foo).bar(Any?,Any?)
When broken by commas it produces a wrong list of expected references
Solution:
* Use findLinesWithPrefixesRemoved() instead of findStringWithPrefixes()
2013-08-28 13:49:52 +04:00
Andrey Breslav
7c3e30775a
More information in the assertion message
2013-08-28 13:49:52 +04:00