Nikolay Krasko
2d8dcaddd0
Compile modules with circular dependency as one module
2015-05-06 14:19:20 +03:00
Nikolay Krasko
9d986d077c
Move kotlin runtime library to end of classpath and remove duplicates with 'util' package
2015-05-06 14:18:24 +03:00
Michael Bogdanov
49f063522c
Inline util functions renaming
2015-05-05 12:47:57 +03:00
Michael Bogdanov
e0aa64b8d2
Support functional expression in non-local returns
2015-05-05 12:47:56 +03:00
Valentin Kipyatkov
8d887f8780
In progress: KT-7442 Inspection + intention to replace "if (xxx == null) return ..' with elvis
2015-05-02 14:03:24 +03:00
Valentin Kipyatkov
077307b518
"Move lambda argument into parentheses" intention - slightly wider range
2015-05-02 14:03:22 +03:00
Valentin Kipyatkov
252399b9a9
"Invert if condition" intention - smaller availability range + refactored
2015-05-02 14:03:21 +03:00
Alexey Sedunov
d096e74c10
Move: Implement inspection which reports mismatch between package directive and containing directory
2015-05-01 18:58:09 +03:00
Alexey Sedunov
8879166f53
Move: Add intention to change file package without moving it physically
2015-05-01 17:16:57 +03:00
Svetlana Isakova
6ee59a06dd
Removed obsolete cache for object literals
2015-04-30 21:24:51 +03:00
Svetlana Isakova
02301a0d70
KT-7597 ErrorType leaked into backend
...
#KT-7597 Fixed
2015-04-30 21:24:51 +03:00
Mikhail Glukhikh
f4dd685bbe
Fix for a problem with smart cast impossible in a situation when it's not needed. A test for KT-3572. #KT-3572 Fixed.
2015-04-30 16:48:15 +03:00
Denis Zharkov
ca8fb53ccd
Fix old labels syntax in testData
2015-04-30 10:22:17 +03:00
Denis Zharkov
bcee052302
Revert "Temporary parse label definitions with both syntax versions"
...
This reverts commit 3e3535f8cf .
2015-04-30 10:16:42 +03:00
Denis Zharkov
02659ca22d
Adjust project code to new labels syntax
2015-04-30 10:16:42 +03:00
Dmitry Jemerov
09a7e87102
fix text navigation offset for secondary constructors; add some missing element types to FindUsagesProvider
...
#KT-7607 Fixed
2015-04-29 18:34:53 +03:00
Dmitry Jemerov
cce1be3892
rename JetClass.isTrait() to isInterface(); rename ClassKind.TRAIT to INTERACE
2015-04-29 16:50:19 +02:00
Dmitry Jemerov
ee60ce8369
understand "interface" keyword as synonym for "trait"
2015-04-29 16:50:14 +02:00
Dmitry Jemerov
8258d72e23
don't report USELESS_CAST in case of casting to superype using 'as'
2015-04-29 16:33:32 +02:00
Dmitry Jemerov
f374eec8f1
deprecating types after colon
2015-04-29 16:33:24 +02:00
Alexander Udalov
c860f54461
Rewrite codegen tests which check time in deterministic way
...
Delete one useless test
#KT-7621 Fixed
2015-04-29 15:28:10 +03:00
Nikolay Krasko
90cdb19324
Add origin for generated jvm overloads and tweak equals methods to distinguish them
...
- KT-7586 Strange navigation issue
#KT-7586 Fixed
2015-04-29 15:20:31 +03:00
Dmitry Jemerov
ed83385099
delete function which is now unused
2015-04-29 14:07:06 +02:00
Dmitry Jemerov
d00b4ca27a
update for modern constructor syntax
2015-04-29 14:07:06 +02:00
Dmitry Jemerov
f93eeeb563
fix tests by adding missing 'init' keywords to testdata
2015-04-29 14:07:05 +02:00
Dmitry Jemerov
98b8784ab0
drop deprecated syntax for anonymous initializer blocks
2015-04-29 14:07:04 +02:00
Ilya Ryzhenkov
35e82d4574
Propagate annotations when performing substitution on constructors #KT-7608 Fixed
...
Tests for deprecated warning on generic constructor.
2015-04-29 14:53:40 +03:00
Denis Zharkov
1fc742ffeb
Add quickfix for java.lang.Class as annotation parameter
2015-04-29 14:03:11 +03:00
Denis Zharkov
fc5236244b
Deprecate java.lang.Class as annotation parameter
2015-04-29 14:03:11 +03:00
Denis Zharkov
3e3535f8cf
Temporary parse label definitions with both syntax versions
...
Should be reverted after bootstrap
2015-04-29 14:03:11 +03:00
Denis Zharkov
44a55e5bf6
Adjust testData to new labels syntax
2015-04-29 14:03:11 +03:00
Denis Zharkov
89c72d9400
Adjust PSI usages to new labels syntax
2015-04-29 14:03:11 +03:00
Denis Zharkov
241860d510
JetExpressionWithLabel: Convert to kotlin
2015-04-29 14:03:11 +03:00
Denis Zharkov
18bd8fa6ab
JetExpressionWithLabel: .java -> .kt
2015-04-29 14:03:10 +03:00
Denis Zharkov
7d5a035aaf
Regenerate lexers for new labels parsing rules
2015-04-29 14:03:10 +03:00
Denis Zharkov
507eefcaa5
Implement new parsing rules for labels
...
See changes in expressions.grm
2015-04-29 14:03:10 +03:00
Alexander Udalov
0d76634f6b
Support SKIP_TXT directive in diagnostic tests
...
Don't render the whole 'kotlin' package in some tests, because test data will
change every time something is updated in built-ins
2015-04-29 01:36:20 +03:00
Alexander Udalov
43ac20e88a
Move builtins dependency to the top in compiler-tests
...
When running tests locally, serialized built-ins located in dist/builtins
should have a higher priority than the ones in the bootstrap runtime, on which
almost every module depends by default. Also make it a 'runtime' dependency
because the binary files there can't really change anything at compile time
2015-04-29 01:36:20 +03:00
Alexander Udalov
890d18e7be
Support external annotations in IDE when approximating flexible types
2015-04-29 01:09:36 +03:00
Alexander Udalov
d7c810a4d0
Copy only nullability/mutability annotations to types
...
Also don't render copied annotations
2015-04-29 01:09:35 +03:00
Alexander Udalov
24bad39e76
Don't use external annotations in compiler
...
External annotations will be re-enabled in the IDE later.
This fixes LazyJavaAnnotations which was breaking the contract of Annotations:
findAnnotation(FqName) was looking for external annotations, while iterator()
did not. This resulted in some inconsistencies in the compiler and IDE tests.
The other way, i.e. making iterator() look up external annotations, would have
been too costly for the compiler and with no clear benefit at the moment.
2015-04-29 01:03:57 +03:00
Alexander Udalov
fe602d34ce
Support type annotations in cls stub builder
...
Also add test on decompiler
2015-04-29 01:03:56 +03:00
Alexander Udalov
0732b78853
Serialize/deserialize annotations on types
2015-04-29 01:03:55 +03:00
Alexander Udalov
88abcdbde5
Minor, remove workarounds for the fixed KT-5786
2015-04-29 01:03:55 +03:00
Mikhail Glukhikh
054e85338d
Fix for EA-68153 (incorrect nullability)
2015-04-28 17:37:56 +03:00
Mikhail Glukhikh
fd789cb68e
Correct behaviour for break / continue inside function call arguments, including multiple ones. Additional tests.
2015-04-28 17:37:53 +03:00
Pavel V. Talanov
3702089396
Minor: Do not throw on getContainingDeclaration() in test
...
Fix build
2015-04-28 16:45:44 +03:00
Pavel V. Talanov
032846aba0
Remove a couple of usages of KotlinBuiltIns.getInstance()
2015-04-28 16:45:43 +03:00
asedunov
7d28f8d2cf
Merge pull request #656 from JetBrains/rr/yole/kt7483
...
fix JetPsiUtil.deleteClass() so that it no longer tries to delete the en...
2015-04-28 15:49:42 +03:00
Mikhail Glukhikh
8f2a3e9d5f
Fixed DFA for the last assignment / initialization in block. A relevant test. #KT-7599 Fixed.
2015-04-28 15:16:39 +03:00