Commit Graph

687 Commits

Author SHA1 Message Date
Andrey Breslav 140382e280 PSI getter fixed: left-hand side of a binary expression can now be null
EA-35976 - IAE: FqNameUnsafe.validateFqName
2013-04-18 16:34:10 +04:00
Andrey Breslav 3a83361780 Factory method removed from DefaultModuleConfiguration 2013-04-17 17:11:19 +04:00
Andrey Breslav b89dc314c8 getPlatformToKotlinClassMap() removed from ModuleConfiguration 2013-04-17 17:11:19 +04:00
Andrey Breslav 4111e78ac2 ModuleDescriptor stores a PlatformToKotlinClassMap 2013-04-17 17:11:18 +04:00
Andrey Breslav 2e710d7462 getDefaultImports() removed from ModuleConfiguration 2013-04-17 17:11:18 +04:00
Andrey Breslav f3656bcadd ModuleDescriptor stores default imports 2013-04-17 17:11:18 +04:00
Andrey Breslav a72e49d8f7 Use ModuleDescriptor instead of ModuleConfiguration 2013-04-17 17:11:17 +04:00
Andrey Breslav e29418cde5 ModuleDescriptor stores a ModuleConfiguration 2013-04-17 17:11:17 +04:00
Andrey Breslav 2e44996cd0 ModuleDescriptor interface extracted 2013-04-17 17:11:16 +04:00
Andrey Breslav af5ee3acba forceResolveAll() is not called when compiler initializes built-ins 2013-04-17 13:49:47 +04:00
Svetlana Isakova 3168b732d3 annotate 'getArrayExpression' with @Nullable @IfNotParsed
from EA
2013-04-12 17:34:59 +04:00
Zalim Bashorov 068b4a4628 Unnecessary TLinkedList replaced to LinkedList and rename FinalListItem to OpenClassInfo. 2013-04-11 20:26:47 +04:00
Zalim Bashorov 7680203de2 Fixed wrong linearization for open classes and traits.
openList changed during neighbors calculation because the same TLinkable object cannot be put into more than one TLinkedList at the same time.

#KT-3499 fixed
2013-04-11 20:26:47 +04:00
Zalim Bashorov 282c69eb6b Fixed return value for ArrayList#remove in js library.
Removed unnecessary Kotlin.IndexOutOfBounds.
2013-03-27 18:40:10 +04:00
Zalim Bashorov 7350e14e18 Fixed bug when class or trait declared early than its parent, traits and abstract classes which declared after doesn't translated
#KT-3437 Fixed
2013-03-27 18:40:09 +04:00
Evgeny Gerashchenko 5ccbce6de6 Got rid of "tuple" word all over the code. 2013-03-22 16:38:25 +04:00
Evgeny Gerashchenko 655f9e01a2 Renamed tuples from other code. 2013-03-22 16:37:16 +04:00
Mikhael Bogdanov 8e5f0abb84 Jet api refactoring: remove JetBodyDeclarationWithBody interface from JetFunctionLiteralExpression 2013-03-20 20:50:06 +04:00
Mikhael Bogdanov 83a717bafe Don't generate default getter for object declaration property descriptor 2013-03-20 20:50:06 +04:00
Zalim Bashorov 7143393172 Added support bitwise operations in js translator 2013-03-19 16:31:02 +04:00
Zalim Bashorov 9c2d5a8ddb Fixed translating primitive arrays to js. 2013-03-19 16:31:02 +04:00
Natalia.Ukhorskaya 37986891df Add JetInvokeFunctionReference for JetCallExpression 2013-03-15 14:23:10 +04:00
goodwinnk bb53985c00 Spelling correction 2013-03-14 15:04:01 +04:00
Evgeny Gerashchenko ec5331057a Removed unnecessary final on local variables. 2013-03-13 14:12:50 +04:00
Zalim Bashorov 322d35ac2f Added some tests for JS implementation of HashMap
Fixed JS implementation of HashMap#putAll
2013-03-12 21:09:33 +04:00
Zalim Bashorov e53270ad3f Fixed ECMAScript3 implementation of Kotlin.$new.
Added bind polyfill.
2013-03-11 13:13:54 +04:00
Zalim Bashorov 220682afe2 fixed mapping sort and max functions from java.util.Collections 2013-03-06 19:16:14 +04:00
Andrey Breslav 7107288f88 Injectors regenerated 2013-03-06 12:53:14 +04:00
Zalim Bashorov 61217a36e7 Merge pull request #145 from tomhal/maps.js-changes
Prevent infinite loop when HashMap is empty and values() method is called
#KT-3035 Fixed
2013-03-05 00:59:51 -08:00
Andrey Breslav ec33f90f89 Rename getQualifiedName() -> getFqName() 2013-02-19 18:52:12 +04:00
Mikhael Bogdanov 029b2d9770 Test fixes for 'New diagnostic error for ambiguous object expression type' 2013-02-19 17:56:56 +04:00
Andrey Breslav afd764c27f Implementations of descriptors moved to a separate package 2013-02-19 14:32:06 +04:00
Evgeny Gerashchenko b9e5704057 Updated test data and stdlib sources. 2013-02-13 18:08:37 +04:00
Maxim Shafirov 7231606eb2 Make sure files don't get overwritten if someone mixes generated and normal stdlib sources in one folder during build. 2013-02-13 13:59:29 +04:00
Maxim Shafirov 15446e98b8 Fix tests failing after stdlib generation refactoring 2013-02-13 12:41:12 +04:00
Andrey Breslav 4a17a7ef26 'storage' package created 2013-02-12 14:48:49 +04:00
Andrey Breslav 8d92b8a42a 'declarations' package created 2013-02-12 14:48:48 +04:00
Svetlana Isakova 35696f9ca0 added tracing parameter to ResolvedCallImpl 2013-02-08 15:10:41 +04:00
Svetlana Isakova 170a3ad718 getQualifiedExpressionTypeInfo moved to CallExpressionResolver
CallExpressionResolver made a component
2013-02-08 15:10:40 +04:00
Evgeny Gerashchenko 658dbda6d4 Regenerated injectors. 2013-02-04 16:16:10 +04:00
Nikolay Krasko e69acd9198 JetPsiBuilder -> JetImportsFactory rename 2013-02-04 14:23:25 +04:00
Nikolay Krasko 83bc8d4f21 Centralize and cache creating import directives 2013-02-04 14:23:16 +04:00
Evgeny Gerashchenko 07a25a7757 Removed newline after copyrights in generated injectors. 2013-01-30 19:24:16 +04:00
Andrey Breslav c2822fdad7 Declaration providers and resolve session are protected by a storage manager 2013-01-30 18:02:04 +04:00
Evgeny Gerashchenko 58f37f38f4 Renamed NumberSequence to Progression. 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko 72b8c4b3c8 Refactored structure of ranges in JS backend. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 4a19cd758c Changed JS ranges test so it will fail now. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko b2e74b1473 Adapted code to new structure of ranges. 2013-01-29 22:55:06 +04:00
Evgeny Gerashchenko 3acf284a4a Reverted some copyrights. 2013-01-28 19:20:39 +04:00
Evgeny Gerashchenko 52b7ee6447 Happy new year 2013! 2013-01-28 18:58:08 +04:00