Valentin Kipyatkov
4800a02e69
More correct list of keywords with no space after
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
0b687ddb05
Added tests for space insertion after return@xxx + do not overwrite space after keyword
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
e39443d53a
Refactored tests for keywords insertion to be all generated
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
276b99857a
Insertion of space after "return" depending on return type
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
cdb5ec3492
KT-5875 Support code completion after "return@"
...
#KT-5875 Fixed
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
95285f7a2e
Auto-popup completion after @
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
39a5486db8
Completion of this@...: supported labeled function literals
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
05be100f53
Corrected test data which was incorrect before
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
3b0fe8831b
Code completion of "this@..."
...
#KT-2035 Fixed
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
2adcaef39c
Completion: use class icon instead of method icon for instantiation
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
ddd63d69e9
KT-6442 Completion of inner class name contains outer name
...
#KT-6442 Fixed
2014-12-29 17:27:28 +03:00
Valentin Kipyatkov
b94e9e63c3
KT-6534 Code completion of global function does not insert import in very specific context
...
#KT-6534 Fixed
2014-12-29 17:27:28 +03:00
Dmitry Jemerov
eca8ed2768
Merge pull request #541 from JetBrains/rr/yole/coverageView2
...
Implement APIs added in IDEA 14.1 for Packages view and Coverage view to work
2014-12-29 14:49:14 +01:00
Dmitry Jemerov
e0677dffd4
a bit more cleanup
2014-12-29 14:48:26 +01:00
Dmitry Jemerov
d1123e116f
refactor for clarity; don't ignore XxxPackage files not related to Kotlin
2014-12-29 13:57:56 +01:00
Dmitry Jemerov
553fd4dd12
code review; adapted to IDEA API change (Predicate -> Condition)
2014-12-29 12:29:01 +01:00
Andrey Breslav
42113b5e58
Filtering error types and accounting for platform types when computing intersections
...
KT-6508 Build impossible because of NoSuchElementException
#KT-6508 Fixed
2014-12-29 14:13:14 +03:00
Svetlana Isakova
2d1891c63f
Minor: moved checkTraitRequirements
2014-12-27 15:15:11 +03:00
Svetlana Isakova
b8cef2925f
Refactoring: simplified resolveFunctionCall
...
Extracted resolveCallForConstructor, resolveCallForThisExpression
2014-12-27 00:55:45 +03:00
Svetlana Isakova
333a91395a
Moved TailRecursionKind to cfg package
2014-12-27 00:55:44 +03:00
Svetlana Isakova
509a8adae5
Refactoring: moved capturing in closure check to call resolver extension
2014-12-27 00:55:44 +03:00
Svetlana Isakova
bc060dd145
Moved call resolver extensions to subpackage
2014-12-27 00:55:43 +03:00
Svetlana Isakova
37abdc2ca6
Rewritten captured type approximation test
...
Approximation bounds may be non-trivial both (in this case we ignore 'in' projection);
no need for special interpretation of 'Nothing?'
2014-12-27 00:55:28 +03:00
Svetlana Isakova
7daf9b53ce
Minor: added a comment
2014-12-27 00:55:27 +03:00
Svetlana Isakova
74a08c9747
Added tests for simple approximation (of Captured(out/in Int))
2014-12-27 00:55:26 +03:00
Svetlana Isakova
9d09a4d1b4
Fixed message for TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH error
2014-12-27 00:55:26 +03:00
Svetlana Isakova
7b09e85717
Added check for incompatible variance modifiers and repeated modifiers
2014-12-27 00:55:25 +03:00
Svetlana Isakova
d2becce1ac
Make vararg argument of java annotation have 'out' type
2014-12-27 00:55:23 +03:00
Svetlana Isakova
d1556331ef
Simplified signatures propagation for vararg types
...
(do not change flexible types)
2014-12-27 00:55:23 +03:00
Svetlana Isakova
179c9ef2d6
Refactoring. Moved error checks (for abstract, super)
...
to CandidateResolver
Added error SUPER_CANT_BE_EXTENSION_RECEIVER (it was SUPER_IS_NOT_AN_EXPRESSION)
2014-12-27 00:55:22 +03:00
Svetlana Isakova
62c8a6f79a
Fixed resolve for callable references
...
functions and properties have the same priority
2014-12-27 00:55:22 +03:00
Alexander Udalov
f0bb6c58fc
Add 'build-bootstrap-artifacts' target to build.xml
...
Will be used in bootstrap build; no reason to build kotlin-for-upsource and
zip-test-data there
2014-12-26 22:55:32 +03:00
Alexander Udalov
fa9e1ca602
Fix runtime for kotlin-for-upsource and simplify classpath
2014-12-26 22:52:52 +03:00
Alexander Udalov
11dfdfc123
Minor, add test for obsolete issue
...
#KT-4228 Obsolete
2014-12-26 22:52:39 +03:00
Valentin Kipyatkov
18a536c846
Added test for correct package names resolve inside local classes
2014-12-26 16:23:19 +03:00
Valentin Kipyatkov
b61b45f794
Renamed class + inherited NoSubpackagesInPackageScope from adapter class to get printScopeStructure implementation
2014-12-26 16:23:19 +03:00
Valentin Kipyatkov
a383a82ddd
No subpackages of current package resolved by short name
2014-12-26 16:23:19 +03:00
Valentin Kipyatkov
817b86a820
Temporary added explicit imports of java.util.Collections into stdlib
2014-12-26 16:23:18 +03:00
Valentin Kipyatkov
0b701950ac
Removed js package usages
2014-12-26 15:45:01 +03:00
Valentin Kipyatkov
6275a19a10
Fixing compilation
2014-12-26 15:45:01 +03:00
Valentin Kipyatkov
1f17d7adcd
Changed language sematics: imports with '*' do not import packages anymore
2014-12-26 15:45:01 +03:00
Valentin Kipyatkov
d540f3b724
JetScope.getAllDescriptors made final
2014-12-26 15:45:01 +03:00
Andrey Breslav
06c5be6489
Fix tests: No dangling annotations in stubs
2014-12-26 15:10:13 +03:00
Zalim Bashorov
6c6ced2442
Minor in JS lib: avoid to use undefined literal which may be over overlapped.
2014-12-26 14:20:21 +03:00
Zalim Bashorov
51724e4b0d
Drop some obsolete TODOs in MapJsTest
2014-12-26 14:20:21 +03:00
Zalim Bashorov
9ab045e598
JS declarations: added eval, typeof, undefined.
...
#KT-4136 Fixed
2014-12-26 14:20:20 +03:00
Nikolay Krasko
0988d6cace
Update to idea 139.872.1
2014-12-26 14:00:12 +03:00
Michael Nedzelsky
eded72d633
fix KT-6192: VerifyError when using spreads with primitive arrays
...
#KT-6192 Fixed
2014-12-25 22:07:24 +03:00
Andrey Breslav
fb7fe81a85
Support navigation to dangling annotations in the IDE
2014-12-25 22:02:23 +03:00
Andrey Breslav
89e1588e13
LIGHT_CLASSES mode for scripts
...
- Do not generate constructor bodies
- Do not generate script class when package contents are requested
- NOT DONE: generate script class when its name is requested
2014-12-25 22:02:23 +03:00