Commit Graph

23411 Commits

Author SHA1 Message Date
Alexander Udalov 7c846388bd Remove some unreachable/duplicated code in StackValue 2015-06-17 16:23:56 +03:00
Alexander Udalov 4dcc373a5a Fix concrete method inheritance in interfaces
For each non-abstract non-declared (i.e. inherited from supertypes) method in
an interface we generate its static form to the TImpl, which calls the TImpl
method from the corresponding supertype.

The accidental override tests changed because we're now trying to generate the
delegate for the super method, not knowing that it will clash with the declared
method

 #KT-2888 Fixed
 #KT-5393 Fixed
2015-06-17 16:23:56 +03:00
Alexander Udalov f81c364999 Add test cases for obsolete issues
#KT-3407 Obsolete
 #KT-4753 Obsolete
2015-06-17 16:23:55 +03:00
Dmitry Jemerov 5eb4a47a1a command line flag to repeat compilation multiple times 2015-06-17 14:55:12 +02:00
Dmitry Jemerov ab33e4935e restore perf output in command line; always remove it from output in tests 2015-06-17 14:53:09 +02:00
Sergey Mashkov 342f35fb65 IDL2K better dictionary support: generate interfaces with builder function
suppress inline warning, replace Long with Int
2015-06-17 15:26:06 +03:00
Sergey Mashkov 8238883ac4 IDL2K better dictionary support: generate interfaces with builder function 2015-06-17 15:26:06 +03:00
Sergey Mashkov c4d53e1e16 IDL2K introduce required parameters list to avoid possible ambiguous calls 2015-06-17 15:26:06 +03:00
Sergey Mashkov 20a67c41ee IDL2K introduce commented declarations list 2015-06-17 15:26:05 +03:00
Sergey Mashkov 2cc708c5a9 IDL2K restrict readonly attributes to vals 2015-06-17 15:26:05 +03:00
Sergey Mashkov c0c0f6152a IDL2K avoid unnecessary super() calls in secondary constructors 2015-06-17 15:26:05 +03:00
Sergey Mashkov 28f228ccc0 IDL2K better results stability 2015-06-17 15:26:04 +03:00
Sergey Mashkov 1a5e6634e2 JS generate new stubs with latest IDL2K 2015-06-17 15:26:04 +03:00
Sergey Mashkov 68183a74fa IDL2K rework types
Fixes #KT-8015
2015-06-17 15:26:04 +03:00
Sergey Mashkov 387291cbf7 IDL2K support static members 2015-06-17 15:26:03 +03:00
Sergey Mashkov 5000fe8133 IDL2K Multiple constructors (via secondary constructors when needed) 2015-06-17 15:26:03 +03:00
dnpetrov a2b2eba1a1 Extended version of AbstractWriteSignatureTest:
- support multiple expectations in file
- support field signature expectations
- report failures in a more usable format
2015-06-17 13:45:08 +03:00
Evgeny Gerashchenko b068a1dd5f Added test for implicit receiver in class. 2015-06-17 13:14:07 +03:00
Evgeny Gerashchenko 154b0d8351 KT-7899 "Do not check if annotated by" setting for "Unused symbol" doesn't affect properties
#KT-7899 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko cc70ea2586 KT-7883 Receiver parameter falsely marked as unused
#KT-7883 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko 7511b5bafe If KotlinBuilder throws exception, user can see its stacktrace and report by one-click. 2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko 88f2a4be52 KT-7651 IllegalArgumentException on attempt to rename class when it has anonymous subclasses
#KT-7651 fixed
 #EA-69049 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko 985b8c0ba6 KT-8042 ISE at KotlinHighlightExitPointsHandlerFactory.createHighlightUsagesHandler() on typing a function name starting with throw
#KT-8042 fixed
 #EA-68157 fixed
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko 0dd151142d KT-3639 Can't find sources of AbstractIterator when navigating from stack strace
#KT-3639 fixed
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko 811fed547b Convert to Kotlin, cleanup. 2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko cea0ffa3b7 Convert to Kotlin, auto-convert. 2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko 254c58f9e4 Convert to Kotlin, rename. 2015-06-17 13:14:05 +03:00
Mikhail Glukhikh 707307b19c Fix for a cyclic generic upper bound for a class type parameter. A pair of tests. 2015-06-17 11:56:28 +03:00
Nikolay Krasko df2c7eb9b2 Update to Idea 141.1531.2 2015-06-17 11:52:02 +03:00
Nikolay Krasko 4f763c1a43 Fixes after review 2015-06-17 11:41:17 +03:00
Nikolay Krasko 8118297f89 Remove descriptions to highlight only new targets in and view 2015-06-17 11:41:16 +03:00
Nikolay Krasko 0178cbdfb0 Deprecate all old targets and introduce new with maven artifacts 2015-06-17 11:41:15 +03:00
Nikolay Krasko 9143113a50 Download prebuilt idea maven artifacts 2015-06-17 11:41:15 +03:00
Nikolay Krasko 265708bacf Separate downloading and configuring ideaSDK 2015-06-17 11:41:14 +03:00
Nikolay Krasko fb4ef41b09 Introduce parameter for ideaSDK folder 2015-06-17 11:41:12 +03:00
Zalim Bashorov 289efb8984 JS backend: don't fail when invoke call got extension receiver implicitly
#EA-67456 Fixed
2015-06-17 11:17:08 +03:00
Zalim Bashorov fe7ee3fb66 JS backend tests: replace run with myRun in closure tests 2015-06-17 11:17:08 +03:00
Zalim Bashorov d63dbf9a3e Minor in JS backend: don't fail when name is null
#EA-66032 Obsolete
2015-06-17 11:17:08 +03:00
Zalim Bashorov 65adc3ac02 JS backend: don't use octal numbers when render non-latin symbols, because of it prohibited in strict mode
#KT-7921 Fixed
2015-06-17 11:17:08 +03:00
Nikolay Krasko 69ae976be3 Revert idea to 141.1531.1 2015-06-17 03:26:05 +03:00
Nikolay Krasko d9bcb8b18c Update to idea 141.1531.2 2015-06-16 23:52:10 +03:00
Michael Nedzelsky 30e1123af6 remove KotlinJavaScriptLibraryPresentationProvider
#KT-8056 Fixed
#KT-8058 Fixed
2015-06-16 21:19:40 +03:00
Alexey Sedunov 62f9672461 Rename: Fix field identifier replacement #KT-8018 Fixed 2015-06-16 21:15:40 +03:00
Alexey Sedunov 98dce65337 Introduce Variable: Fix NPE for the case of statement-like expression
#KT-8054 Fixed
2015-06-16 21:15:39 +03:00
Alexey Sedunov dda271d38d Delete/Move: Delete entire file when deleting top-level class or object and no other top-level declarations are present. Ask the user confirmation if deletion if caused by the Move refactoring
#KT-8033 Fixed
2015-06-16 21:15:38 +03:00
Alexey Sedunov e1e818858e Change Signature: Fix primary constructor processing 2015-06-16 21:15:37 +03:00
Alexey Sedunov 64bbbac9dc Change Signature: Replace entire JetThisExpression when converting receiver to parameter #KT-7970 Fixed 2015-06-16 21:15:36 +03:00
Alexey Sedunov e481ed756d Change Signature: Fix transfer of argument to receiver position
#KT-7987 Fixed
2015-06-16 21:15:35 +03:00
Alexey Sedunov 9bfa437c96 Introduce Parameter: Do not highlight removable parameters if default value is enabled 2015-06-16 21:15:34 +03:00
Alexey Sedunov 90032fe7d7 Introduce Lambda Parameter: Merge actions to allow for atomic undo/redo 2015-06-16 21:15:33 +03:00