Commit Graph

21200 Commits

Author SHA1 Message Date
Alexey Tsvetkov 8be3628074 JS: removed comma expression decomposition from InlineMetadata
There are used to be two inline tags (corresponding to start, end of inline function).
An expression like "startTag, function, endTag" was parsed into comma expression, then decomposed.
Now, it's just one tag at start, and parser can read function, then stop.
Thus, there is no need to decompose comma expressions.
2015-03-23 16:43:48 +03:00
Alexey Tsvetkov c7e8f52faf JS: use one tag for inlining 2015-03-23 16:43:48 +03:00
Alexey Tsvetkov e83b253b3e JS: renamed JsParser->JsAstMapper 2015-03-23 16:43:48 +03:00
Alexey Tsvetkov b5797eb15b JS: added tests for recursion cycle in inline functions 2015-03-23 16:43:48 +03:00
Alexey Tsvetkov 24f2121f9b JS: report error from backend, when inline function is called recursively 2015-03-23 16:43:48 +03:00
Alexander Udalov 7e69a5ac9a Don't create KProperty instance for synthetic field
#KT-5759 Fixed
2015-03-23 16:30:26 +03:00
Alexander Udalov a5a60b6917 Move code from file named util.kt to meaningful place 2015-03-23 16:30:25 +03:00
Alexander Udalov 9a041136f2 Make ClassId's relative class name FqName instead of FqNameUnsafe
It was FqNameUnsafe in times when there were classes without identifier names,
specifically class objects with names like '<class-object-for-...>'
2015-03-23 16:30:25 +03:00
Alexander Udalov 31554b9fa3 Introduce ClassId.getShortClassName() for convenience 2015-03-23 16:30:24 +03:00
Alexander Udalov 9cf0720925 Fix KClass.simpleName for local classes 2015-03-23 16:30:24 +03:00
Alexander Udalov aaef2d42cd Do not report "no reflection" inspection in JS modules
#KT-7087 Fixed
2015-03-23 15:54:34 +03:00
Alexander Udalov 3335752462 Do not report "no reflection" inspection where reflection is not used
#KT-7059 Fixed
2015-03-23 15:54:33 +03:00
Zalim Bashorov d569ea5974 JS frontend: added diagnostic about secondary constructors not supported yet. 2015-03-23 13:52:56 +03:00
Alexander Udalov 9c88f9e744 Delete buildGrammarLexer.xml from .idea/ant.xml 2015-03-23 13:01:12 +03:00
Alexander Udalov 06537c5b14 Clarify 'class_fq_name` field in jvm_descriptors.proto
Regenerate protobuf files with protoc 2.5.0
2015-03-23 12:21:38 +03:00
Alexander Udalov 5d0af36432 Minor, pull equals/hashCode/toString up to DescriptorBasedProperty 2015-03-23 12:21:24 +03:00
Alexander Udalov e60c299def Fix warnings in module 'reflection.jvm', clarify some code 2015-03-23 12:21:17 +03:00
Alexander Udalov 4e7d4f9340 Fix ReplInterpreterTestGenerated locally 2015-03-23 12:21:07 +03:00
Alexander Udalov 73f06baa90 Drop temporary bootstrapping hack 2015-03-23 12:20:45 +03:00
Alexey Sedunov e0a394ec62 Change Signature: Replace isConstructor flag with enum. Fix signature preview 2015-03-21 03:29:04 +03:00
Alexey Sedunov d19e6337a3 Find Usages: Support of secondary constructors and delegation calls 2015-03-21 03:29:03 +03:00
Alexey Sedunov 312a1db273 Call Hierarchy: Support secondary constructors 2015-03-21 03:29:01 +03:00
Alexey Sedunov fe553edfb4 References Search: Add extension which looks for constructor usages in delegation calls 2015-03-21 03:29:00 +03:00
Alexey Sedunov b45965b290 Safe Delete: Support secondary constructors 2015-03-21 03:28:58 +03:00
Alexey Sedunov cefd8b43a0 Safe Delete: Add test for primary constructor with usages in delegation calls 2015-03-21 03:28:57 +03:00
Alexey Sedunov 83e23aafe5 Fix retrieval of class constructor 2015-03-21 03:28:56 +03:00
Alexey Sedunov 5c7debbf88 Change Signature: Support refactoring of primary/secondary constructor by delegation call reference 2015-03-21 03:28:54 +03:00
Alexey Sedunov 173a28a25e Change Signature: Add tests for secondary constructors and delegation calls 2015-03-21 03:28:53 +03:00
Michael Nedzelsky d01cc8ac55 fix navigation is Kotlin/Java with Kotlin/Javascript modules 2015-03-21 03:19:46 +03:00
Ilya Gorbunov 0eabb6c8d4 Fix js test results interpretation. 2015-03-20 23:13:07 +03:00
Zalim Bashorov 1b530887cd Minor: fix testdata 2015-03-20 21:23:31 +03:00
Zalim Bashorov aaa7f6d5e4 JS frontend: added diagnostic about non-toplevel classifiers are unsupported yet. 2015-03-20 21:23:31 +03:00
Zalim Bashorov 1bf7610751 Minor in JS frontend: fix compiler warnings. 2015-03-20 21:23:31 +03:00
Zalim Bashorov 68619be023 Minor in JS frontend: extract native annotation checkers to separate file. 2015-03-20 21:23:31 +03:00
Zalim Bashorov 8673f95dc5 AnnotationChecker -> DeclarationChecker 2015-03-20 21:23:30 +03:00
Evgeny Gerashchenko 1d703c39ef Enabled "Invert if condition" intention. It was erroneously disabled one year ago. 2015-03-20 19:34:19 +03:00
Evgeny Gerashchenko c652cc16dc Classified usages as type parameters correctly.
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko 51fb4910a1 Classified usages in up casts correctly.
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko e752dd0a80 Classified usages in "is" of when entry correctly.
#KT-7047 fixed
2015-03-20 19:34:17 +03:00
Evgeny Gerashchenko f7883fb1df Added quick fix for "Unused receiver parameter". 2015-03-20 19:34:16 +03:00
Evgeny Gerashchenko 1946360a80 Introduced "Unused receiver parameter" inspection. 2015-03-20 19:34:16 +03:00
Evgeny Gerashchenko edd51908ec KT-7021 Don't mark companion object as unused if some stuff from it is used
#KT-7021 fixed
2015-03-20 19:34:15 +03:00
Evgeny Gerashchenko efccde2c0b Finding implicit usages of companion object in containing class. 2015-03-20 19:34:15 +03:00
Dmitry Jemerov 64937f0ccf Merge pull request #607 from JetBrains/delete-line-suffix
fix source links in generated API docs
2015-03-20 17:23:41 +01:00
Dmitry Jemerov de7fb22100 fix path mapping for source links 2015-03-20 17:00:58 +01:00
Dmitry Jemerov 75fe342969 fix source links in generated API docs
#KT-7062 Fixed
2015-03-20 16:41:59 +01:00
Dmitry Jemerov b37af0b9e7 Merge pull request #603 from JetBrains/rr/yole/delete-old-website
delete old Kotlin website and old API generation target
2015-03-20 15:28:47 +01:00
Nikolay Krasko d7b150752c Cover only one idea branch in plugin compatible check 2015-03-20 17:19:22 +03:00
Andrey Breslav a389d694d8 Merge pull request #605 from JetBrains/rr/yole/delete-confluence-grammar-generator
delete old grammar generator
2015-03-20 15:16:33 +03:00
Nikolay Krasko 12406ec11f Update to idea 141.175.3 2015-03-20 14:11:31 +03:00