Commit Graph

25778 Commits

Author SHA1 Message Date
Denis Zharkov 9dada595b6 Replace deprecated annotations with modifiers in testData 2015-09-18 10:14:41 +03:00
Denis Zharkov 4850fd10f0 Regenerate test data containing rendered descriptors
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00
Denis Zharkov 7ea7e3cc7c Render '@' before each annotation 2015-09-18 10:14:38 +03:00
Denis Zharkov f518348565 Revert "Support decapitilized obsolete annotations in resolve"
This reverts commit 4159c83282.
2015-09-18 10:14:37 +03:00
Denis Zharkov 53bccec50d Capitalize copies of JVM annotations for js stdlib 2015-09-18 10:14:35 +03:00
Denis Zharkov e401a98a2b Replace native with @native in js testData 2015-09-18 10:14:34 +03:00
Denis Zharkov 9adde77c47 Replace inlineOption(ONLY_LOCAL_RETURN) with crossinline in testData 2015-09-18 10:14:33 +03:00
Denis Zharkov bae3320d52 Get rid of deprecated annotations in testData 2015-09-18 10:14:32 +03:00
Denis Zharkov eebe66e041 Minor. Fix test with obsolete enum syntax 2015-09-18 10:14:31 +03:00
Denis Zharkov 05eaf37123 Get rid of deprecated annotations and modifiers in js-stdlib 2015-09-18 10:14:30 +03:00
Denis Zharkov 5cecaa6f87 Get rid of deprecated annotations and modifiers in stdlib (besides JS) 2015-09-18 10:14:28 +03:00
Denis Zharkov 9c4564a5a6 Get rid of deprecated annotations and modifiers in project code 2015-09-18 09:34:27 +03:00
Denis Zharkov 02aafe4262 Report syntax error on unescaped annotation
Also adjust parser testData
2015-09-18 09:34:26 +03:00
Denis Zharkov 3adeb966b5 Minor. Drop dead branch in parser 2015-09-18 09:34:26 +03:00
Denis Zharkov daa2c8372d Do not parse '@' as a part of modifier 2015-09-18 09:34:25 +03:00
Denis Zharkov 23ddf42981 Use JvmStatic in reflection instead of decapitalized 2015-09-18 09:34:25 +03:00
Denis Zharkov 38bafaa35c Drop annotations deprecation related things: diagnostics, quickfixes 2015-09-18 09:34:25 +03:00
Alexander Udalov 787d392df0 Update .idea/encodings.xml due to latest changes in IDEA EAP 2015-09-17 21:15:22 +03:00
Alexander Udalov 57c81e9cbe Disallow arrays as upper bounds of type parameters
#KT-9189 Fixed
2015-09-17 21:15:20 +03:00
Ilya Gorbunov e95be9096e Revert unification of operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver.
Leave sortedArray, reversedArray and sliceArray only for covariant projection of array as the receiver.
2015-09-17 21:15:11 +03:00
Valentin Kipyatkov c12f44fa22 Use TypeResolver instead of analyzing artificial type cast expression 2015-09-17 18:54:12 +03:00
Zalim Bashorov 63947904b5 Minor: don't crash when action event doesn't contain project CreateIncrementalCompilationBackup
#EA-68453 Fixed
2015-09-17 15:45:16 +03:00
Zalim Bashorov 1b00eb3a17 Minor: report error instead of crash with exceptions when collect JetFiles to compile and remove obsolete (wrong now) code
#EA-61681 Obsolete
2015-09-17 15:45:16 +03:00
Ilya Gorbunov 909cbc6817 Eliminate deprecated language constructions from the generated code. 2015-09-17 02:41:01 +03:00
Alexey Sedunov 0a32e5a96d Extraction Engine: Support references to synthetic properties 2015-09-17 01:33:25 +03:00
Alexey Sedunov 0fbcf0b958 Extraction Engine: Report conflict on all diagnostics from UNRESOLVED_REFERENCE group
#KT-9117 Fixed
2015-09-17 01:33:23 +03:00
Alexey Sedunov 767897dccf Extraction Engine: Replace receiver occurrences with 'this' when necessary 2015-09-17 01:33:22 +03:00
Alexey Sedunov b80720209e Extraction Engine: Skip containers enclosing object declaration (aside of other object declarations and containing file) 2015-09-17 01:33:21 +03:00
Alexey Sedunov 34b279a7a8 Extraction Engine: Do not add variance to type parameters in generated declaration 2015-09-17 01:33:19 +03:00
Alexey Sedunov 4f7b978bbc Pull Up: Disable "Refactor" button if no members are selected 2015-09-17 01:33:18 +03:00
Alexey Sedunov ac35f747d1 Pull Up: Fix UI for J2K case 2015-09-17 01:33:16 +03:00
Mikhail Glukhikh 7dbd5b75cc Expected return type is in use now during function literal analysis #KT-9134 Fixed 2015-09-16 17:12:41 +03:00
Mikhail Glukhikh 65b77558a1 Data flow value converted to Kotlin 2015-09-16 16:56:45 +03:00
Mikhail Glukhikh 71f09a89d4 Preliminary loop visitor converted to Kotlin 2015-09-16 15:55:44 +03:00
Mikhail Glukhikh 15e46ebc2b Refactoring: DataFlowValue.Kind introduced 2015-09-16 15:38:32 +03:00
Mikhail Glukhikh 8348f204cd Refactoring: base class extracted from PreliminaryLoopVisitor 2015-09-16 15:04:58 +03:00
Mikhail Glukhikh aa3a7c2838 Data flow info for arguments: nullability refactoring 2015-09-16 15:04:56 +03:00
Mikhail Glukhikh 1667f18d7c Receiver of a safe call is not null inside the call also for extension functions + a pair of tests #KT-9033 Fixed 2015-09-16 15:04:41 +03:00
Mikhail Glukhikh 22229af930 Annotation / modifier checking for setter parameters / for variables / multi declarations, tests, relevant test changes #KT-9145 Fixed 2015-09-16 09:51:37 +03:00
Mikhail Glukhikh f1fcb14f44 Suppress warning intention fix: now multi declaration is not a possible intention target but its initializer is, relevant test fixes 2015-09-16 09:51:31 +03:00
Alexander Udalov 9feb82c268 Do not decompile old incompatible package parts
Fix the test by reverting 282727b
2015-09-16 03:27:11 +03:00
Alexander Udalov 2b269b2652 Improve ABI version error reporting in the compiler
- only report ABI errors if there's at least one other error
- append additional helpful information to the "unresolved reference" error
2015-09-16 01:44:27 +03:00
Alexander Udalov d98b3433eb Fix ABI version diagnostic for old package facades
Restore the test data that was erroneously replaced in 84649e4
2015-09-16 01:44:27 +03:00
Alexander Udalov 4bc257bd73 Minor refactoring in LazyJavaPackageScope 2015-09-16 01:44:27 +03:00
Alexander Udalov 8e83e1c17a Fix testIncompleteHierarchyInKotlin on Windows 2015-09-15 19:58:25 +03:00
Dmitry Jemerov 6f902823d5 Merge branch 'rr/yole/verify-ignore-perf' 2015-09-15 17:18:48 +02:00
Dmitry Jemerov 81d0b6c109 verify.groovy: ignore PERF output 2015-09-15 16:24:18 +02:00
Michael Nedzelsky d5f9382d56 fix for EA-68992 (JS) IPBE: UninitializedMessageException.asInvalidProtocolBufferException. 2015-09-15 16:08:13 +03:00
Michael Nedzelsky bd67a2a9ff Minor: get rid of warnings: KotlinJavaScriptLibraryManager, KotlinJavaScriptMetaFileSystem 2015-09-15 16:08:10 +03:00
Michael Nedzelsky ff73388cf3 tests for EA-68992 (JS) IPBE: UninitializedMessageException.asInvalidProtocolBufferException. 2015-09-15 16:08:07 +03:00