Pavel V. Talanov
|
c19b8353d0
|
Minor, tests: remove some static accesses to builtIns
|
2015-10-01 17:53:20 +03:00 |
|
Pavel V. Talanov
|
a3fbf2fabc
|
Test that primitives, arrays, enums are implicitly serializable on jvm and not js
Specifically test calling java function that accepts java.io.Serializable
|
2015-10-01 17:53:19 +03:00 |
|
Pavel V. Talanov
|
7b49baf8c3
|
Test data adjustment: JetDiagnosticsTest
|
2015-10-01 17:53:19 +03:00 |
|
Pavel V. Talanov
|
bc8449a70c
|
Test data adjustment: Resolved calls and constraint system test
|
2015-10-01 17:53:18 +03:00 |
|
Pavel V. Talanov
|
41c0895abb
|
JetExtractionTest: adjust test data
after making some of builtin types serializable
|
2015-10-01 17:53:17 +03:00 |
|
Pavel V. Talanov
|
e263c85142
|
JetTypeChecker: adjust test data
after making some of builtin types serializable
|
2015-10-01 17:53:17 +03:00 |
|
Pavel V. Talanov
|
1f36b7fbea
|
Extract FunctionPlaceholders from ErrorUtils to a separate component since they are not really an error
|
2015-10-01 17:53:16 +03:00 |
|
Pavel V. Talanov
|
d5624708fb
|
Add "java.io.Serializable" as supertype to java builtIns mapped to classes that are serializable on jvm
Implementation is hacky, relies on adding fictional supertype to corresponding classes
|
2015-10-01 17:53:16 +03:00 |
|
Pavel V. Talanov
|
427c853e27
|
ErrorUtils return DefaultBuiltIns
This should be changed in the future by making ErrorUtils not-static
|
2015-10-01 17:53:15 +03:00 |
|
Pavel V. Talanov
|
76029ee9b2
|
Introduce JvmBuiltIns and DefaultBuiltIns, different instances of KotlinBuiltIns
Make KotlinBuiltIns an abstract class
JsPlatform has DefaultBuiltIns
|
2015-10-01 17:53:14 +03:00 |
|
Pavel V. Talanov
|
4b9e167fd2
|
Minor: move builtIns initialization into constructor
|
2015-10-01 17:53:14 +03:00 |
|
Pavel V. Talanov
|
0ae842a05d
|
'descriptors' module exports 'deserialization', not the other way around
Also remove some of redundantly specified dependencies
|
2015-10-01 17:53:13 +03:00 |
|
Pavel V. Talanov
|
22e3e192ee
|
ModuleDescriptorImpl: remove KBI as default parameter
|
2015-10-01 17:53:12 +03:00 |
|
Pavel V. Talanov
|
7d1b6f4bbb
|
GenerateOperationsMap uses builtIns from default platform
|
2015-10-01 17:53:12 +03:00 |
|
Pavel V. Talanov
|
767950fea3
|
Tests: Replace some usages of KotlinBuiltIns.getInstance()
In cases where platform is either unimportant or predefined in test code
|
2015-10-01 17:53:11 +03:00 |
|
Pavel V. Talanov
|
af3bb80a54
|
JetChangeSignatureTest: Drop usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:11 +03:00 |
|
Pavel V. Talanov
|
b79881848f
|
jvm-backend, cli: Replace some usages of KotlinBuiltIns.getInstance() by JvmPlatform.builtIns
|
2015-10-01 17:53:10 +03:00 |
|
Pavel V. Talanov
|
5dd4843b5a
|
reflection.jvm: Drop usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:09 +03:00 |
|
Pavel V. Talanov
|
537134613a
|
js.translator: Drop usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:09 +03:00 |
|
Pavel V. Talanov
|
643cb0a5d4
|
js.frontend: Drop usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:08 +03:00 |
|
Pavel V. Talanov
|
0a2bd257a5
|
frontend.java: Drop usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:08 +03:00 |
|
Pavel V. Talanov
|
64d8baee1d
|
DeserializerForDecompilerBase depends on TargetPlatform
|
2015-10-01 17:53:07 +03:00 |
|
Pavel V. Talanov
|
bb3028b6c9
|
JetSourceNavigationHelper: drop usage of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:07 +03:00 |
|
Pavel V. Talanov
|
f28a8a60c1
|
AllClassesCompletion: drop usage of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:06 +03:00 |
|
Pavel V. Talanov
|
3963c8b833
|
MemberMatching: drop usage of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:06 +03:00 |
|
Pavel V. Talanov
|
36fee381c3
|
BuiltInsReferenceResolver: drop usage of KotlinBuiltIns.getInstance()
|
2015-10-01 17:53:05 +03:00 |
|
Pavel V. Talanov
|
e4c0d93224
|
idea: Use platform extension to eliminate other usages of KotlinBuiltIns
|
2015-10-01 17:53:04 +03:00 |
|
Pavel V. Talanov
|
315809a34b
|
Add builtIns property to TargetPlatform
Add utility to get TargetPlatform by JetElement
|
2015-10-01 17:53:03 +03:00 |
|
Pavel V. Talanov
|
51113c10b4
|
Drop some usages of KotlinBuiltIns.getInstance() in idea module
|
2015-10-01 17:53:02 +03:00 |
|
Pavel V. Talanov
|
f1c76f0467
|
extractableAnalysisUtil: Drop some usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:52:04 +03:00 |
|
Pavel V. Talanov
|
e42057c71c
|
Drop some usages of KotlinBuiltIns.getInstance() in ide-common module
|
2015-10-01 17:52:04 +03:00 |
|
Pavel V. Talanov
|
0610dd36fa
|
ConstantExpressionEvaluator: avoid calling KotlinBuiltIns.getInstance()
|
2015-10-01 17:52:03 +03:00 |
|
Pavel V. Talanov
|
b9da08d11c
|
TypeIntersector: refactor it to being a static utility
Deal with intersecting empty set of types on the call site
|
2015-10-01 17:52:03 +03:00 |
|
Pavel V. Talanov
|
b85fe40275
|
ScriptReceiver: Remove usage of KotlinBuiltIns.getInstance()
|
2015-10-01 17:52:02 +03:00 |
|
Pavel V. Talanov
|
e35e6f7f52
|
JetTypeCodeFragment: Remove usage of KotlinBuiltIns.getInstance()
|
2015-10-01 17:52:01 +03:00 |
|
Pavel V. Talanov
|
b5712033a8
|
Make DataFlowValue.NULL not static
|
2015-10-01 17:52:01 +03:00 |
|
Pavel V. Talanov
|
a72b050d91
|
Pass builtIns into CompileTimeConstantChecker constructor
|
2015-10-01 17:52:00 +03:00 |
|
Pavel V. Talanov
|
9b0970e1a9
|
Avoid calling KotlinBuiltIns.getInstance() in DescriptorRendererImpl
|
2015-10-01 17:52:00 +03:00 |
|
Pavel V. Talanov
|
9f858cbc56
|
ControlStructureTypingUtils: use real module descriptor instead of error module
|
2015-10-01 17:51:59 +03:00 |
|
Pavel V. Talanov
|
7429b65c73
|
Try to implement some of error utils without using KotlinBuiltIns
|
2015-10-01 17:51:59 +03:00 |
|
Pavel V. Talanov
|
6780a1fe90
|
Make DynamicCallableDescriptors non static and remove static object DynamicType
|
2015-10-01 17:51:58 +03:00 |
|
Pavel V. Talanov
|
424d71e964
|
Remove reference to KotlinBuiltIns from CompanionObjectMapping
Make it a class
|
2015-10-01 17:51:57 +03:00 |
|
Pavel V. Talanov
|
d2a4235dd8
|
Pass KotlinBuiltIns into getExpectedTypePredicate utility
|
2015-10-01 17:51:56 +03:00 |
|
Pavel V. Talanov
|
0fc23fc426
|
Use new method instead of some usages of KotlinBuiltIns.getInstance()
|
2015-10-01 17:51:56 +03:00 |
|
Pavel V. Talanov
|
22c250778e
|
Introduce TypeConstructor#getBuiltIns
|
2015-10-01 17:51:55 +03:00 |
|
Alexey Sedunov
|
896e1d8bc9
|
Rename: Drop 'override' keyword when renaming function/property without bases
#KT-4790 Fixed
|
2015-10-01 17:35:27 +03:00 |
|
Alexey Sedunov
|
2f251b9216
|
Rename: Drop 'operator' keyword if new name doesn't correspond to any convention
#KT-9357 Fixed
|
2015-10-01 17:35:26 +03:00 |
|
Alexey Sedunov
|
1f6f617546
|
Create from Usage: Suggest synthetic function classes as extension receivers
|
2015-10-01 17:35:25 +03:00 |
|
Alexey Sedunov
|
1d83d75a82
|
Create from Usage: Use function form when rendering FunctionN types
#KT-7522 Fixed
|
2015-10-01 17:35:24 +03:00 |
|
Alexey Sedunov
|
605802847a
|
Move Declarations: Fix processing of self-references
#KT-5847 Fixed
|
2015-10-01 17:35:23 +03:00 |
|