Commit Graph

1448 Commits

Author SHA1 Message Date
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
Stepan Koltsov 3748507ac1 disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +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
Stepan Koltsov 8be79b3f22 split some tests in JetDiagnosticsTest 2012-03-12 22:53:50 +04:00
Nikolay Krasko 55b0ea1e60 - Don't repeat reference variant lookup for empty prefix.
- Temporary disable duplicates search with PsiElement position.
2012-03-12 21:12:42 +04:00
Alex Tkachman c746a50406 annotations with parameters 2012-03-12 16:52:49 +02:00
Stepan Koltsov 7c8170cddd better diagnostics in JavaDescriptorResolverHelper 2012-03-12 17:31:30 +04:00
Andrey Breslav c315734665 EA-34240 - SIOOBE: CompileTimeConstantResolver.getCharValue 2012-03-12 16:58:01 +04:00
Alex Tkachman b4e2a5fb30 workaround for ACC_STATIC flag 2012-03-12 14:53:33 +02:00
Andrey Breslav 00142a7775 Assertions and a possible fix for EA-34423 - NPE: GenerationState.compileCorrectFiles 2012-03-12 16:42:31 +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 a0a4536c40 Debug output removed 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
Stepan Koltsov 4443f912af fix PackageScope.getAllDescriptors
http://youtrack.jetbrains.com/issue/KT-1553
2012-03-11 15:49:54 +04:00
Stepan Koltsov 0c2b91aa10 KT-1536: parse Throwable as nullable in JavaDescriptorResolver 2012-03-11 15:24:46 +04:00
Andrey Breslav 67d2a8dcca Work around the shallowly analyzed files 2012-03-11 13:46:50 +04:00
Andrey Breslav 57fb669670 Work around the shallowly analyzed files 2012-03-11 13:42:30 +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
Stepan Koltsov 997fbb60a3 using guice to wire TopDownAnalyzer beans
attempt 2
2012-03-10 00:54:16 +04:00