Alexander Udalov
6c145de39e
Minor, remove pointless comment and broken URL
2014-12-29 18:00:18 +03:00
Alexander Udalov
14dab749a2
Use reflection in Ant task to invoke compiler
...
This will allow a more controlled management of the runtime that the compiler
is linked against. Incidentally this also allows Ant task to use any of
compiler arguments via <compilerarg> because Ant task is now just a facade for
the CLI compiler.
The test "wrongArguments" is deleted because the full compiler usage is now
printed out on a wrong <compilerarg>, and this will become inconvenient to
update with each change in compiler arguments
#KT-5618 Fixed
2014-12-29 18:00:18 +03:00
Alexander Udalov
3bde619ca3
Add test for obsolete issue
...
#KT-4434 Obsolete
2014-12-29 18:00:17 +03:00
Alexander Udalov
91754c0c4b
Move test files to test data root
2014-12-29 18:00:16 +03:00
Nikolay Krasko
1ec7104132
Search in index under read lock to prevent entering to isDumb() mode (EA-63656)
2014-12-29 17:55:22 +03:00
Nikolay Krasko
3d254748b4
Minor: better function used and reformat
2014-12-29 17:55:21 +03:00
Valentin Kipyatkov
d297f4ad8f
Minor
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
4b2ee7e645
Fixed KT-6429 Wrong replacement range in smart completion in some particular case
...
#KT-6429 Fixed
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
51678d0a45
KT-5874 Support code completion of label names after "continue@" and "break@"
...
#KT-5874 Fixed
2014-12-29 17:27:30 +03:00
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