Commit Graph

2424 Commits

Author SHA1 Message Date
Svetlana Isakova b4e3c36c5e resolve constructor reference in standard library 2012-09-05 18:55:18 +04:00
Svetlana Isakova 096218c2b8 removed resolve to file if there is no resolve result 2012-09-05 18:55:17 +04:00
Svetlana Isakova 0b4b515ad7 navigate to several elements if there are many
(not only in ambiguity case)
2012-09-05 18:55:17 +04:00
Svetlana Isakova f8d341cb13 stdlib reference might be multi
(for fake reference defined in several super traits)
2012-09-05 18:55:17 +04:00
Svetlana Isakova 7d37df5f38 tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Svetlana Isakova 31831f2433 added 'class has Kotlin analog' error
to existing diagnostic tests
2012-09-05 18:55:16 +04:00
Svetlana Isakova e70db866ad add 'getKotlinAnalogs' to ModuleConfiguration 2012-09-05 18:55:15 +04:00
Svetlana Isakova 7073b12d11 add ModuleConfiguration to injectors
(to be able to use it in TypeResolver)
2012-09-05 18:55:15 +04:00
Nikolay Krasko 0e3dd77098 KT-2170 "private" keyword completion does not work before "val"
#KT-2170 Fixed
2012-09-05 17:08:02 +04:00
Andrey Breslav 6de633d0cb Fixing compilation on some versions of javac 2012-09-05 14:39:37 +04:00
Andrey Breslav a267f65fa1 Front-end test data fixed to have no complex patterns
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav fbc0ca1b77 Gererated tests now check that all the relevant directories are present
We only checked test data files before
2012-09-05 14:18:40 +04:00
Natalia.Ukhorskaya b113059c2c KT-2709 Optimizing import removes reference to class when in code val from its class object is used
#KT-2709 Fixed
2012-09-05 11:39:42 +04:00
Natalia.Ukhorskaya cc215d4212 Optimizing imports doesn't remove references to java static fields when they are referred via short name in code 2012-09-05 11:29:35 +04:00
Nikolay Krasko d4564a41e3 EA-38865 Fail for convention functions names 2012-09-04 22:56:12 +04:00
Evgeny Gerashchenko c2b3cd79b3 Better exception handling in JetPsiChecker. Exceptions are rethrowed only in test mode. In production, error is logged and error annotation is registered. 2012-09-04 17:59:18 +04:00
Nikolay Krasko d9cd4f0d74 KT-2725 No completion in properties initializers and accessors
#KT-2725 Fixed
2012-09-04 16:37:37 +04:00
Nikolay Krasko 138373c94c KT-2724 No completion in class initializers
#KT-2724 Fixed
2012-09-04 15:36:30 +04:00
Nikolay Krasko a0c2cee754 Rename method refactoring 2012-09-04 15:05:25 +04:00
Nikolay Krasko 2fdcfcfff4 Don't share lazy resolve session between different clients. It can give slice overwrite exceptions. 2012-09-04 14:18:10 +04:00
Nikolay Krasko fc887a869d Refactor class for showing parameters tooltip 2012-09-04 13:37:28 +04:00
Nikolay Krasko 994cc2e1da Refactoring: remove warnings 2012-09-04 13:37:27 +04:00
Nikolay Krasko 3cbe2a270b Slightly optimize tests 2012-09-04 13:37:26 +04:00
Natalia.Ukhorskaya 7e1091a6af KT-1850 Fixed: Redundant imports are not removed when classes are used only by FQ name
OptimizeImportsMultiFileTest added
2012-09-03 17:59:52 +04:00
Alexander Udalov 5b96d045f9 Fix debugger testdata after bd5b8d3 2012-08-31 19:37:29 +04:00
Natalia.Ukhorskaya c5711cccda Rename test files 2012-08-31 15:13:46 +04:00
Natalia.Ukhorskaya 84e846649f Fixed KT-2488 Optimizing imports removes references to enum constants when they are referred via short name in code 2012-08-31 14:52:04 +04:00
Andrey Breslav f0119c7354 Fix blinking test (see comments in the code) 2012-08-30 17:30:39 +04:00
Andrey Breslav eb4650b95f setUp() and tearDown() moved up 2012-08-30 17:30:39 +04:00
Alex Tkachman da064f95fd MapTypeMode renamed to JetTypeMapperMode and moved to state package 2012-08-30 13:08:43 +03:00
Alex Tkachman 6cc85a6ce3 JetTypeMapper moved to state package 2012-08-30 13:08:41 +03:00
Alex Tkachman 20eb285f35 binding package introduced 2012-08-30 13:08:41 +03:00
Alex Tkachman 0852f3939f (BindingContext,BindingTrace,TypeMapper,GenerationState)Aware classes introduced and related changes in GenerationState construction/injection 2012-08-30 11:50:51 +03:00
Alex Tkachman b45f19c0e2 GenerationState refactored to be (almost) immutable and methodless (modulo little protection from reuse)
GenerationStrategy introduced to handle separately cases of regular compilation and building of JetLightClasses (this was only real overridable behavior of GenerationState in old code)
state subpackage introduced
2012-08-30 09:33:10 +03:00
Andrey Breslav 7caa1b8aa4 KT-2364 Drop traces of constructor-entries in enums
#KT-2364 Fixed
2012-08-29 22:07:42 +04:00
Andrey Breslav d2d5f005be Workaround for failing tests (see comments in the code) 2012-08-29 16:26:14 +04:00
Alex Tkachman 018a1f8c85 some cleanup of JetTypeMapper
- some methods not relevant directly to type mapping made static and moved to CodegenBinding or CodegenUtil
- naked bindingContext field shielded by getter
- injectors regenerated in order to have injection logic more natural
2012-08-28 21:27:43 +03:00
Nikolay Krasko 5d37c9581b getQualifiedName rewrite 2012-08-28 19:32:45 +04:00
Nikolay Krasko b1f466861d Don't create new object 2012-08-28 19:32:44 +04:00
Alex Tkachman 7452bb2957 CodegenAnnotator does not exist anymore
Injectors regenerated to reflect that
2012-08-28 11:54:52 +03:00
Alex Tkachman 5ee0f0871f CodegenAnnotator has state anymore. Most likely to be completely removed soon 2012-08-28 11:19:52 +03:00
Alex Tkachman 15c1d7bda7 most of data previously kept in CodegenAnnotator now lives in binding context (CodegenBinding utility class)
injectors regenerated in order to have BindingTrace around
2012-08-28 09:31:19 +03:00
Alex Tkachman cfbab55a43 ClosureAnnotator renamed to CodegenAnnotator 2012-08-27 19:06:01 +03:00
Nikolay Krasko b82d06cb60 Add showing error stack trace for warnTimeConsuming() 2012-08-27 19:23:32 +04:00
Nikolay Krasko c788636365 Don't block EDT while counting information for Resolve and Bytecode window 2012-08-27 18:57:10 +04:00
Nikolay Krasko 628da4e670 - Don't restart action if previous task was finished for same location
- Do some user-defined action if location became invalid
2012-08-27 18:57:09 +04:00
Nikolay Krasko 25bce862b4 Introduce helper class for doing long running cancelable operations. 2012-08-27 18:57:08 +04:00
Nikolay Krasko 3fd96fb049 Don't irritate user and in interrupt execution of methods with assertTimeConsuming(). Warning is used instead. 2012-08-27 18:57:08 +04:00
Nikolay Krasko dfecf24b80 Small refactoring to remove warning 2012-08-27 18:57:07 +04:00
Evgeny Gerashchenko a503d53a1e Got rid of open/closed icon concept, since it is removed from IDEA. 2012-08-27 16:20:01 +04:00