Commit Graph

64314 Commits

Author SHA1 Message Date
Dmitriy Novozhilov f489e4044f [FIR-TEST] Update testdata after removal bodies of synthetic data class funs 2020-04-17 13:22:19 +03:00
Jinseong Jeon 9f1ecadd65 IR: more consolidation of synthetic member generation for data class. 2020-04-17 12:38:38 +03:00
Dmitriy Novozhilov 7f02d57d88 [FIR] Correctly detect super type in delegated constructor call 2020-04-17 12:37:29 +03:00
Dmitriy Novozhilov adfd478361 [FIR] Hold all containers in body resolve context, not only last one 2020-04-17 12:37:29 +03:00
Dmitriy Novozhilov a446aa2266 [FIR] Set implicit type for delegated constructor calls in fir builder 2020-04-17 12:37:28 +03:00
Dmitriy Novozhilov 276754260a [FIR] Add replaceCalleeReference to all FirResolvable
Also improve tree generator: now it generates abstract overrides
  for `replace` functions and correctly generates replace for fields
  with overriden type
2020-04-17 12:37:28 +03:00
Dmitriy Novozhilov fa1e5f9593 [FIR] Add transformations for delegated constructor call 2020-04-17 12:37:28 +03:00
Dmitry Gridin 30ac024011 Regenerate IntentionTestGenerated 2020-04-17 15:14:26 +07:00
Dmitry Gridin 97a8bde64d Convert AbstractTypingIndentationTestBase to Kotlin 2020-04-17 15:14:26 +07:00
Dmitry Gridin cbd5d29457 Add performance tests for typing indentation 2020-04-17 15:14:25 +07:00
Ilya Muradyan 400ea13f07 Fix scripting REPL completion after literals 2020-04-17 09:37:35 +02:00
Ilya Muradyan d2fec96f38 Add new REPL API JVM implementation 2020-04-16 21:16:08 +02:00
Ilya Muradyan 4c2c44b106 Add new REPL API 2020-04-16 21:16:08 +02:00
Ilya Muradyan b240fce224 Add incompleteCode diagnostic type 2020-04-16 21:16:08 +02:00
Ilya Muradyan af251cafa4 Add info about the end of range in scripting REPL compiler messages 2020-04-16 21:16:08 +02:00
Ilya Muradyan a70a128d9e Fix typo in property name 2020-04-16 21:16:08 +02:00
Ilmir Usmanov 5ab55fbb57 Support -J<jvm-param> and "-Dname=value" in windows runner script
Otherwise, -J-ea has no effect on windows, which breaks assert tests.
Wrap parameters with delimeters in quotes.
 #KT-30211 Fixed
2020-04-16 21:11:50 +02:00
Dmitry Petrov ec50b1c85e Add '-Xno-kotlin-nothing-value-exception' to compiler args in kotlin 2020-04-16 19:38:30 +03:00
Dmitry Petrov ac5411c32e Command-line option disabling KotlinNothingValueException generation 2020-04-16 19:38:30 +03:00
simon.ogorodnik 3c4e691e62 [FIR] Fix getClassDeclaredCallableSymbols for constructors 2020-04-16 18:38:18 +03:00
Toshiaki Kameyama eff57001dc Create secondary constructor: fill 'this()' arguments
#KT-11865 Fixed
2020-04-16 17:04:09 +02:00
Ilya Kirillov e271015382 Minor: don't use deprecated HashSet class in KotlinChangeSignatureUsageProcessor 2020-04-16 15:43:15 +03:00
Ilya Kirillov 00a85f03ca Do not search for non Kotlin/Java usages in KotlinChangeSignatureUsageProcessor
It may break some other language plugins

#KT-37637 fixed
2020-04-16 15:41:41 +03:00
Ilya Kirillov 1535873c07 Do not try to lazy parse a block without opening bracket
It can consume the whole file in such case
which will result PsiBuilder going crazy

#KT-36191 fixed
2020-04-16 15:40:21 +03:00
LepilkinaElena 4f9364f997 Native specific frontend checker for @ThreadLocal (#3293) 2020-04-16 15:23:06 +03:00
Georgy Bronnikov 41a28bde5c JVM_IR: repair synthetic accessors to fields 2020-04-16 15:08:11 +03:00
Mikhail Bogdanov 461c368ee0 Minor. Unmute test 2020-04-16 13:49:48 +02:00
Nicolay Mitropolsky d3f357ee47 Uast: KotlinUastReferencesTest falling in 193 fix 2020-04-16 14:14:29 +03:00
Igor Chevdar 6d86d6ccdc [box-tests] Turned on some tests on fun interfaces for JS & Native 2020-04-16 16:01:17 +05:00
Mikhail Zarechenskiy 4ffcbc0c2f [NI] Properly support UnsafeVariance annotation
#KT-38134 Fixed
 #KT-34433 Fixed
 #KT-31823 Fixed
2020-04-16 13:55:47 +03:00
Ilya Goncharov 1614c1b8a6 [Gradle, JS] Move TeamCity related classes to internal
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:50:35 +03:00
Ilya Goncharov 4a4ce98f24 [Gradle, JS] Make execHandle private
#KT-38109 fixed
2020-04-16 13:50:28 +03:00
Ilya Goncharov 75af8f958a [Gradle, JS] Remove redundant webpack plugin in karma
Because it is applied in webpack config too

#KT-38109 fixed
2020-04-16 13:50:17 +03:00
Ilya Goncharov 2e1735735a [Gradle, JS] Remove redundant spaces in stacktrace
#KT-38286 fixed
2020-04-16 13:50:00 +03:00
Ilya Goncharov 77d8864abd [Gradle, JS] Refactor check on error
#KT-38109 fixed
2020-04-16 13:49:46 +03:00
Ilya Goncharov 5969f1dd4d [Gradle, JS] LogType on Enum
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:49:32 +03:00
Ilya Goncharov fa4003bac5 [Gradle, JS] Useful message on exception for webpack
#KT-38286 fixed
2020-04-16 13:49:21 +03:00
Ilya Goncharov f8c44be865 [Gradle, JS] Config errors in webpack
#KT-38286 fixed
2020-04-16 13:49:07 +03:00
Ilya Goncharov 36525d6534 [Gradle, JS] Not all karma messages go through log appenders
#KT-38109 fixed
2020-04-16 13:48:54 +03:00
Ilya Goncharov 480a9c16fb [Gradle, JS] Stack trace processor
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:48:41 +03:00
Ilya Goncharov 3c033c168c [Gradle, JS] Beautiful log for webpack
#KT-38286 fixed
2020-04-16 13:48:30 +03:00
Ilya Goncharov 60dc423f17 [Gradle, JS] Don't debug twice
#KT-38109 fixed
2020-04-16 13:48:17 +03:00
Ilya Goncharov 61e9d13fbd [Gradle, JS] Save stack trace for nodejs errors
#KT-38109 fixed
2020-04-16 13:48:04 +03:00
Ilya Goncharov fb638c24f0 [Gradle, JS] Debug non test output
#KT-38109 fixed
2020-04-16 13:47:50 +03:00
Ilya Goncharov bd94387293 [Gradle, JS] Move common process message logic
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:47:38 +03:00
Ilya Goncharov ee218e9855 [Gradle, JS] Less verbosity for karma parsing
#KT-38109 fixed
2020-04-16 13:47:26 +03:00
Ilya Goncharov df41397a32 [Gradle, JS] Add cohesion for console method and message type
#KT-38286 fixed
2020-04-16 13:47:13 +03:00
Ilya Goncharov 567ebfb180 [Gradle, JS] Remove copypaste for webpack and karma parse log
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:46:58 +03:00
Ilya Goncharov db41c65240 [Gradle, JS] Typed message for log type
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:46:46 +03:00
Ilya Goncharov dccf670849 [Gradle, JS] Simple message to message
#KT-38109 fixed
2020-04-16 13:46:18 +03:00