Andrey Breslav
d5eea09146
Imports moved from under the script node to top level
2014-04-01 12:36:52 +04:00
Andrey Breslav
7bdc56d895
Script-related code extracted to subclasses
2014-04-01 12:36:52 +04:00
Andrey Breslav
64a80baacc
Support script return value field in LAZY mode
2014-04-01 12:36:51 +04:00
Andrey Breslav
b8119a57ab
Script parameters supported in LAZY mode
2014-04-01 12:36:51 +04:00
Andrey Breslav
1335152625
ResolveSession caches script descriptors
2014-04-01 12:25:33 +04:00
Andrey Breslav
77261330b9
Only use script parameters from definition
...
Passing parameters of a _single_ script into TopDownAnalyser makes no sense
2014-04-01 12:25:33 +04:00
Andrey Breslav
086e16f67f
ResolveSession knows about script classes
2014-04-01 12:25:33 +04:00
Andrey Breslav
b48d9884ee
Minor. Better assertion message
2014-04-01 12:25:33 +04:00
Andrey Breslav
d909a03453
Minor. ScriptNameUtil works on scripts, not files
2014-04-01 12:25:32 +04:00
Andrey Breslav
caa80a0552
DeclarationProvider now returns ClassLikeInfo's instead of PSI
2014-04-01 12:25:32 +04:00
Andrey Breslav
06e901e2c7
Minor. Missing final added
2014-04-01 12:25:32 +04:00
Andrey Breslav
7933f07bdd
Avoid rewrites between script body checking and class members
2014-04-01 12:25:32 +04:00
Andrey Breslav
6ac2e2da8a
Support scripts in LAZY mode
2014-04-01 12:25:32 +04:00
Andrey Breslav
5166c73060
Property descriptor initialization moved to DescriptorResolver
2014-04-01 12:25:32 +04:00
Andrey Breslav
214465a81c
Extract method
2014-04-01 12:25:31 +04:00
Andrey Breslav
76e286aacc
ScriptParameterResolver extracted
2014-04-01 12:25:31 +04:00
Andrey Breslav
e683a28689
Minor. Extract method
2014-04-01 12:25:31 +04:00
Andrey Breslav
f81bf5ea73
Do not add functions and properties with inferred types as script class memebrs
2014-04-01 12:25:31 +04:00
Andrey Breslav
9a1f8b9cc6
Trace is not injected into ScriptBodyResolver any more
2014-04-01 12:25:31 +04:00
Andrey Breslav
5ef329b713
Store scope for body resolution in ScriptDescriptor
2014-04-01 12:25:31 +04:00
Andrey Breslav
3e957031b9
Minor. Method moved to where it belongs
2014-04-01 12:25:30 +04:00
Andrey Breslav
efd752290e
Minor. Extract method
2014-04-01 12:25:30 +04:00
Andrey Breslav
e24a90a73a
Minor. Logic moved up the call stack
2014-04-01 12:25:30 +04:00
Andrey Breslav
bbf9523c04
getValueParameters() removed from ScriptDescriptor
2014-04-01 12:25:30 +04:00
Andrey Breslav
04f21eee50
getReturnType() removed from ScriptDescriptor
2014-04-01 12:25:30 +04:00
Andrey Breslav
39c06e19e4
Minor. Comment removed
2014-04-01 12:25:30 +04:00
Andrey Breslav
19e5e322fe
Cast moved to the call-site
2014-04-01 12:25:29 +04:00
Andrey Breslav
7191763c17
Extract interface: ScriptDescriptor
2014-04-01 12:25:29 +04:00
Mikhael Bogdanov
e2f3a589e7
KT-3308 Support local generic functions in codegen
...
#KT-3308 Can'tReproduce
2014-04-01 11:18:16 +04:00
Mikhael Bogdanov
4269729b0a
KT-3214: Verify error when get array convention is used with varargs
...
#KT-3214 Can'tReproduce
2014-04-01 11:18:16 +04:00
Mikhael Bogdanov
596dc68ea4
KT-4340: Jvm backend generates invalid synthetic accessor for private extension property
2014-04-01 11:18:15 +04:00
Natalia Ukhorskaya
33b1813dd7
Remove KT-4617 workaround
2014-04-01 11:12:23 +04:00
Natalia Ukhorskaya
32a6205d81
SmartStepInto in top level functions. Add test for debugger
...
#KT-4737 Fixed
2014-04-01 10:41:34 +04:00
Nikolay Krasko
4aa3dff2a2
Update to ASM5
2014-04-01 02:55:05 +04:00
Nikolay Krasko
95fd870988
Update to idea 135.666 EAP with asm5 library
2014-04-01 02:55:00 +04:00
Evgeny Gerashchenko
04a6b10f7a
Minor. Renamed annotationDeserializer → deserializers.
2014-03-31 22:39:59 +04:00
Evgeny Gerashchenko
dadc8351b6
Added tests for compiling Java against TraitImpl and extension members.
2014-03-31 22:39:58 +04:00
Evgeny Gerashchenko
93dfc00880
Minor. Renamed enum constants for clarification.
2014-03-31 22:39:58 +04:00
Natalia Ukhorskaya
4a79bfa16d
Generate static accessors fro protected functions in different packages
...
#KT-4617 Fixed
2014-03-31 21:27:13 +04:00
Mikhael Bogdanov
5b5ecca12a
Inline test: check that no any inline method is called directly
2014-03-31 20:04:23 +04:00
Mikhael Bogdanov
0d239a3e0e
Moving local fun callee generation to CallReceiver
2014-03-31 20:04:10 +04:00
Mikhael Bogdanov
7dc662f613
Optimization for const closures: access it via GETSTATIC
2014-03-31 20:04:09 +04:00
Mikhael Bogdanov
c7c1e33655
Move local fun callee generation to pushArgumentsWithCallReceiver.
...
Local fun callee generation via resolvedCall.resultingDescriptor not call
2014-03-31 20:03:43 +04:00
Mikhael Bogdanov
94e4c2f0c1
Move call receiver wrapping and generation to pushArgumentsWithCallReceiver
2014-03-31 20:00:46 +04:00
Mikhael Bogdanov
e1e2855887
Removed obsolete pop operation
2014-03-31 19:59:24 +04:00
Mikhael Bogdanov
b3f4b79cdf
Fixed misspelling in defaulCallGenerator
2014-03-31 19:59:24 +04:00
Mikhael Bogdanov
ff4ff29d28
CallReceiver calcType and put method identical simplification
2014-03-31 19:59:24 +04:00
Zalim Bashorov
fd165f055f
Minor in JS backend:
...
- use constants from Namer in JsAstUtils#createPackage;
- dropped extra JsInvoke node when create IIF;
- create new JsName for Kotlin object in IIF scope.
2014-03-31 16:07:55 +04:00
Zalim Bashorov
0a546ebb40
Merge pull request #428 from alextkachman/kotlin-as-var
...
added Kotlin as parameter for module wrapping function
2014-03-31 15:58:18 +04:00
Zalim Bashorov
0d61fbb8f7
Merge pull request #427 from alextkachman/master
...
Avoid unnecessary null checks in'!!' and 'as'
2014-03-31 15:57:24 +04:00