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
1d8786dabf
allow renaming functions which are members of anonymous objects
...
#KT-5857 Fixed
2015-04-29 20:09:17 +02:00
Dmitry Jemerov
46841ef447
fix expected testdata for StubBuilderTestGenerated
2015-04-29 19:19:40 +02:00
Dmitry Jemerov
8cc9ea1c8a
fix compilation
2015-04-29 18:06:29 +02:00
Dmitry Jemerov
f0b7830521
use new API for indexing identifiers and TODO items in Kotlin files that allows reusing the lexer for building both indices; index TODO items in KDoc comments
...
#KT-5677 Fixed
2015-04-29 18:38:10 +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
8574c38998
fix usages of ClassKind.TRAIT in kdoc
2015-04-29 16:50:30 +02:00
Dmitry Jemerov
3b8167a8c3
rename "Kotlin Trait" file template to "Kotlin Interface"
2015-04-29 16:50:29 +02:00
Dmitry Jemerov
702188bbe2
regenerate JS reserved words test
2015-04-29 16:50:22 +02:00
Dmitry Jemerov
b7b5333cb9
keyword completion test: trait -> interface
2015-04-29 16:50:21 +02:00
Zalim Bashorov
9b49221c74
Fix test case generator: escape modifiers when they used for declaration enum entry
2015-04-29 16:50:21 +02:00
Dmitry Jemerov
9701a8fc7e
regenerate keyword strings; add testcase for 'interface' keyword
2015-04-29 16:50:20 +02:00
Dmitry Jemerov
f61a4a15cc
rename "isTrait" to "isInterface": update test data
2015-04-29 16:50:20 +02: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
55cfd3b0c7
fix QuickFixTestGenerated$Expressions.testRemoveUselessCast
2015-04-29 16:33:39 +02:00
Dmitry Jemerov
94071550e3
fix JetPsiCheckerTest
2015-04-29 16:33:38 +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
Nikolay Krasko
b7a4b3c17d
Fix build
2015-04-29 16:44:41 +03: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
Nikolay Krasko
536b30af20
Refactoring: extract test method
2015-04-29 15:20:30 +03:00
Nikolay Krasko
b82f7d5c33
Refactoring: extract method for configuring runtime without sdk change
2015-04-29 15:20:29 +03:00
Nikolay Krasko
dbe6d2743d
Drop deprecated API
2015-04-29 15:20:28 +03:00
Dmitry Jemerov
ed83385099
delete function which is now unused
2015-04-29 14:07:06 +02:00
Dmitry Jemerov
b98e2513f2
fix Common.testInSecondaryConstructorDelegationCall completion test: don't insert $ which breaks parsing of argument list and causes the block to be detached from the constructor itself
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
fa2af69942
Drop obsolete token in KDOC
2015-04-29 14:03:11 +03:00
Denis Zharkov
74bf4a3a7f
Refine findElementOfClassAtRange to make it find labels
2015-04-29 14:03:11 +03:00
Denis Zharkov
ffa9b0aa7c
Remove whitespaces before labels in project code
...
Whitespaces are not allowed after lates syntax changes
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
5977302465
Adjust J2K 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
2271ca1e81
Further simplify Java annotation resolution
...
Filter annotations by FQ name, get rid of unneeded properties, lazy values,
static import some stuff
2015-04-29 01:09:36 +03:00