Commit Graph

1477 Commits

Author SHA1 Message Date
Alex Tkachman 56eabfe07b KT-1508 jet.Number -> j.l.Number 2012-03-17 13:57:45 +02:00
Andrey Breslav 9c58e5b45c Making compiler exit codes type safe. Fixes the problem with wrong command-line argument usage being missed by the IDE 2012-03-16 20:20:54 +04: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
Maxim Shafirov 484a38ddfc Don't log ProcessCancelledException 2012-03-16 18:54:35 +04:00
Andrey Breslav 5af3770563 Assetion for EA-34591 - NPE: AbstractLightClass.isValid 2012-03-16 18:42:53 +04:00
Stepan Koltsov 2f9621cc8a prohibit '*' in FqNameUnsafe 2012-03-16 18:09:04 +04:00
Alex Tkachman 6ff783e79b KT-1592 don't write default values for annotations 2012-03-16 15:48:49 +02: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
Maxim Shafirov ea8a416051 #KT-978 Fixed 2012-03-16 15:28:45 +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
Maxim Shafirov 2db12d69f9 fix test 2012-03-15 15:43:08 +04:00
Maxim Shafirov 43956b565a #KT-1562 Fixed. 2012-03-15 15:12:29 +04:00
Andrey Breslav 562893f83e Fixing the behavior for non-physical JetFiles (e.g. the ones created by WebDemo) 2012-03-15 14:04:11 +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
James Strachan 7ef65c0099 moved the stdlib tests into the same directory as the stdlib, so it works a bit better with maven support in IDEA 2012-03-14 16:14:14 +00: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
Maxim Shafirov 32264cd4a8 File name transforming is unnecessary and thus, removed. 2012-03-14 16:35:45 +04:00
Nikolay Krasko cd59e72350 Add ability to post exceptions during analyzing as errors from IDEA 2012-03-14 15:53:39 +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
Andrey Breslav 646334cc39 Qualified name in the exception messageˆ 2012-03-13 18:17:30 +04:00
Alex Tkachman 5bb7c2122d KT-1538 proper boolean invertion 2012-03-13 15:50:29 +02:00
Alex Tkachman c870eccc4f fix for KT-1515 wrong loading of annotations 2012-03-13 12:28:35 +02:00
Nikolay Krasko 6b26d1ca31 KT-800 Implement Navigate->Symbol... for kotlin - done for functions 2012-03-13 14:04:46 +04:00
James Strachan cf36014326 slightly more descriptive assertion message 2012-03-13 08:43:17 +00:00
Alex Tkachman 9aa992c209 fix for KT-1568 1.javaClass 2012-03-13 09:36:15 +02:00