Commit Graph

775 Commits

Author SHA1 Message Date
Alex Tkachman 56eabfe07b KT-1508 jet.Number -> j.l.Number 2012-03-17 13:57:45 +02:00
Nikolay Krasko 76cc231cb2 KT-1426 Implement "Optimize Imports" in plugin - untested draft version 2012-03-16 19:33:15 +04:00
Andrey Breslav 6232e45c10 Assertions for EA-33908 - SOE: TypeSubstitutor.substituteInProjection
+ toString() in substitutions, for debugging
2012-03-16 19:23:28 +04:00
Stepan Koltsov 2f9621cc8a prohibit '*' in FqNameUnsafe 2012-03-16 18:09:04 +04:00
Svetlana Isakova 114988ac82 KT-1579 "Can't import nested class/trait" partially: Entry can be imported, but Map.Entry in code is still unresolved 2012-03-16 17:09:28 +04:00
Evgeny Gerashchenko ba841816c8 Fixed tests related to changes in DescriptorRenderer. 2012-03-16 17:00:59 +04:00
Evgeny Gerashchenko 1157ab6d5d Restored lost space after "final" in DescriptorRenderer 2012-03-16 16:51:35 +04:00
Evgeny Gerashchenko 17cd9c0e5c Restored "final" keyword in DescriptorRenderer. 2012-03-16 16:42:43 +04:00
Stepan Koltsov 1610c9b3a0 FqNameUnsafe 2012-03-15 19:28:29 +04:00
Stepan Koltsov 4c12f61a28 properly report error in initialization loop 2012-03-15 19:23:48 +04:00
Stepan Koltsov 4c8cd6ca5c NamespaceFactory
* extract NamespaceFactory from TypeHierarchyResolver
* implement NamespaceFactory.createNamespaceDescriptorPathIfNeeded(FqName)
* FqName .path() and .pathSegments() utilities
2012-03-15 17:30:29 +04:00
Andrey Breslav 9524b48676 Resolution task is itself a context 2012-03-14 23:09:23 +04:00
Stepan Koltsov 982eebf70f better root ns 2012-03-14 22:02:44 +04:00
Maxim Shafirov e82dd48662 Progress messages when emitting classfiles 2012-03-14 21:59:51 +04:00
Stepan Koltsov fecc98af8c more DI in top down analysis 2012-03-14 21:47:29 +04:00
Stepan Koltsov 7a6f18c14a di: required parameters
* required parameters have @NotNull annotation generated
* parameters are required by default
2012-03-14 21:47:25 +04:00
Andrey Breslav e6020725fe Refactoring CallResolver to use context objects 2012-03-14 20:18:12 +04:00
Stepan Koltsov 76e49f1865 more root ns 2012-03-14 20:13:55 +04:00
Stepan Koltsov 316010be37 fix typo 2012-03-14 20:02:57 +04:00
Stepan Koltsov 5af4661c18 better root ns
* ModuleDescrpiptor now lives in context
* ns parent is module descriptor iff ns is root ns
* minor test enhancements
2012-03-14 19:43:22 +04:00
Stepan Koltsov 671b0ff7ee ... and rename 2012-03-14 18:01:21 +04:00
Stepan Koltsov 1127a23a1b NamespaceLikeBuilder instead of NamespaceLike 2012-03-14 18:01:18 +04:00
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +04:00
Evgeny Gerashchenko af9f00c177 Merge branch 'decompiler'
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/NamespaceCodegen.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/JavaPackageScope.java
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/DescriptorUtils.java
2012-03-14 14:50:04 +04:00
pTalanov f326359bfe KT-1550 Cannot use parenthesized array access expression. 2012-03-14 13:19:02 +04:00
Andrey Breslav 8019357bd5 KT-555 Parse error for generic function invocation
#KT-555 Fixed
2012-03-14 12:51:39 +04:00
Andrey Breslav 9441e57fa0 KT-627 Drop Predicate expression
The residuals removed
2012-03-14 12:40:28 +04:00
Stepan Koltsov 511776234f fix k2js tests 2012-03-13 23:25:25 +04:00
Stepan Koltsov 82d77560a2 FqName class
for type safety, to easier distinguish between:

* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
Andrey Breslav ee2976d380 Unnecessary beans removed 2012-03-13 20:30:42 +04:00
Andrey Breslav c6e54b133c Deterministic order of setter calls 2012-03-13 20:00:54 +04:00
Andrey Breslav 93fcd7d1f2 Dependency Injection: GUICE replaced by custom code generation 2012-03-13 19:44:35 +04:00
Nikolay Krasko 6b26d1ca31 KT-800 Implement Navigate->Symbol... for kotlin - done for functions 2012-03-13 14:04:46 +04:00
Stepan Koltsov 61dc0c265c debugger-friendly formatting 2012-03-12 22:54:05 +04:00
Stepan Koltsov 9d66a9a842 asserts in JetScopeImpl, add enum entry to proper scope 2012-03-12 22:54:00 +04:00
Stepan Koltsov 88f55100ca make sure ClassDescriptor.toString does not crash so we can use it in exception messages 2012-03-12 22:53:55 +04:00
Alex Tkachman c746a50406 annotations with parameters 2012-03-12 16:52:49 +02:00
Andrey Breslav c315734665 EA-34240 - SIOOBE: CompileTimeConstantResolver.getCharValue 2012-03-12 16:58:01 +04:00
Andrey Breslav 9138d0f6d4 Comment added 2012-03-12 16:21:52 +04:00
Andrey Breslav 68698cb34a Unnecessary creation of the default namespace eliminated 2012-03-12 16:21:52 +04:00
Andrey Breslav c6fae0c18f Aggregating scope refactored to into proper imports 2012-03-12 16:21:52 +04:00
Andrey Breslav 3c71512850 Minimal refactoring that eliminates importing Java's root namespace by default.
All tests pass. Some beautifying needed

#KT-1477 Fixed
2012-03-12 16:21:52 +04:00
Andrey Breslav 6bc3bbb53d Rename StandardConfiguration into DefaultModuleConfiguration 2012-03-12 16:21:52 +04:00
Andrey Breslav 61aac5d544 Configuration renamed into ModuleConfiguration 2012-03-11 18:57:38 +04:00
Nikolay Krasko fba492c492 Completion for top-level functions from class and jar files. 2012-03-11 16:54:06 +04:00
Evgeny Gerashchenko f7c969de36 removed unnecessary ": jet.Any" in class declarations. 2012-03-10 20:32:43 +04:00
Evgeny Gerashchenko e9bac5ce16 Added better rendering for objects in DescriptorRenderer. 2012-03-10 20:29:00 +04:00
Evgeny Gerashchenko d1f2c46d26 Removed unnecessary "abstract" before "trait" in DescriptorRenderer. 2012-03-10 19:23:32 +04:00
Evgeny Gerashchenko 8f5d469a0c Replaced short names with fully qualified in DescriptorRenderer. 2012-03-10 14:57:08 +04:00