Commit Graph

1365 Commits

Author SHA1 Message Date
Svetlana Isakova c40cd03a08 not to rewrite RESOLUTION_SCOPE for references
(different scope can appear because of cached info for calls)
2012-06-07 17:12:12 +04:00
Svetlana Isakova 3d2021a132 factory method added
not to create empty Collections on invocation every time
2012-06-07 17:09:19 +04:00
Svetlana Isakova 6c6c1a1cd1 addAllMyDataTo with filter method added 2012-06-07 17:07:21 +04:00
Svetlana Isakova 5003da67f6 added CallType
callElement in not unique for the call, for example: for 'set' and 'get' array methods resolve
the same callElement is used, so callType with callElement is the unique key
2012-06-07 17:05:51 +04:00
Andrey Breslav b5f5ba7e32 KT-2184 Fix rendering of error types
#KT-2184 Fixed
2012-06-07 15:52:39 +04:00
Andrey Breslav 37560fac10 Working on integrating lazy resolve with Java interop. 2012-06-07 15:45:34 +04:00
Andrey Breslav a390908592 No constructor for traits and such 2012-06-07 15:45:33 +04:00
Andrey Breslav 8ee4c05be6 Support getClassDescriptor() 2012-06-07 15:45:32 +04:00
Stepan Koltsov bace845b49 working on REPL: test template and basic analyzer hacks 2012-06-06 23:58:21 +04:00
Stepan Koltsov bfec04f319 WritableScopeImpl: specify debug name in constructor 2012-06-06 23:58:20 +04:00
Stepan Koltsov 06389993a9 do not store root scope in context
because context can be used more then once when analyzing REPL
2012-06-06 23:58:20 +04:00
Andrey Breslav acee1f5df1 Include subpackages and fake overrides into allDescriptors 2012-06-06 22:13:01 +04:00
Nikolay Krasko 5a22f43131 Constant for language name and several usage for this constant 2012-06-06 21:29:12 +04:00
Stepan Koltsov f27147f752 script: make top level declarations class members 2012-06-05 22:59:07 +04:00
Stepan Koltsov 4cf48d64a7 rename FunctionDescriptorImpl.receiver 2012-06-05 22:56:24 +04:00
Stepan Koltsov 52234e96fd ScriptCodeDescriptor 2012-06-05 22:56:23 +04:00
Andrey Breslav 91606a3901 Introduce 'reified' instead of 'erased' 2012-06-05 20:19:07 +04:00
Andrey Breslav e5e3bc0ee5 PackageMemberDeclarationProvider introduced 2012-06-05 20:19:07 +04:00
Nikolay Krasko 184d3fb16e - Tests for OUT_OF_CODE_BLOCK_MODIFICATION behaviour
- Enable behaviour for property accessors
2012-06-05 17:54:22 +04:00
Andrey Breslav 96d7d8414d ModuleDescriptor now supports lazy root namespaces 2012-06-05 15:24:58 +04:00
Andrey Breslav 3bf7c37c77 Annotations on classes and class objects supported 2012-06-05 15:24:58 +04:00
Andrey Breslav c57eb23e25 Primary constructors supported 2012-06-05 15:24:58 +04:00
Andrey Breslav 3ee6d759f8 getAllDescriptors() supported 2012-06-05 15:24:58 +04:00
Stepan Koltsov e0ac80a7ce simplify ConstructorDescriptorImpl.getExpectedThisObject
(remove never-executed code)
2012-06-05 00:59:48 +04:00
Nikolay Krasko d55d2c7bcf Add monitoring for out-of-block-modification in function literals 2012-06-04 20:30:39 +04:00
Svetlana Isakova 0cd8534230 KT-2069 Cannot call super method when superclass has type parameters
#KT-2069 fixed
2012-06-04 18:56:48 +04:00
Andrey Breslav febb3c6a3d Recovery set extended
#KT-2172 Fixed
2012-06-04 18:44:09 +04:00
Stepan Koltsov 4a01a55480 do not store jvm class name in descriptor name 2012-06-02 02:55:42 +04:00
Stepan Koltsov aaa03100cf always call single constructor of VariableDescriptorImpl 2012-06-01 18:04:45 +04:00
Andrey Breslav 6f28638e80 Remove useless ObservableBindingTrace from DI 2012-05-31 19:29:06 +04:00
Andrey Breslav 50d9d0975d Toto added 2012-05-31 17:59:00 +04:00
Andrey Breslav ee96cca49a Members reordered for better structure 2012-05-31 17:58:43 +04:00
Andrey Breslav c307acc75a Unused class removed 2012-05-31 17:58:15 +04:00
Andrey Breslav ca0f2fce8c Root namespace behavior fixed 2012-05-31 16:35:56 +04:00
Andrey Breslav c1e6961d50 PSI-based declaration providers 2012-05-31 16:26:43 +04:00
Andrey Breslav 33f0a3cee0 JetClassOrObject now has a type-safe Name 2012-05-31 15:29:58 +04:00
Andrey Breslav d3a624b071 Fix compilation yet again
(Not my day, apparently)
2012-05-31 15:22:59 +04:00
Andrey Breslav 7d550980c6 Lazy resolve: Generate fake overrides for functions 2012-05-31 14:29:25 +04:00
Andrey Breslav 5471738dfa Update names to match the generic meaning of the code 2012-05-31 14:29:25 +04:00
Svetlana Isakova 7dab62ec97 KT-2125 Inconsistent error message on UNSAFE_CALL
#KT-2125 fixed
2012-05-31 14:17:48 +04:00
Andrey Breslav f2dab93090 Extract method + remove unused parameter 2012-05-31 14:03:45 +04:00
Andrey Breslav 83eaa4deb7 Got rid of a global map for invisible overridden descriptors 2012-05-31 13:50:15 +04:00
Andrey Breslav 9e1c218af2 More precise checks 2012-05-31 13:39:32 +04:00
James Strachan 8ebd632be9 rollback change that broke the build - sorry! :) 2012-05-31 10:30:54 +01:00
James Strachan c4439f33f0 avoided JS compile barf in JS generation and fix compile error of Node vals in generated DOM API 2012-05-31 09:26:55 +01:00
Andrey Breslav 173904d606 Introduced JetNamed to unify named functions and properties 2012-05-30 21:58:46 +04:00
Stepan Koltsov 22be8ad49a do not include error types in hierarchy 2012-05-30 21:47:19 +04:00
Andrey Breslav 5504015025 Preliminary version of lazy resolve
The implementation is incomplete and thus not used anywhere other than the test
2012-05-30 21:09:22 +04:00
Stepan Koltsov 7c0b8876ca fix more errors of incomplete classpath
after this commit project without JDK configured is not all red
2012-05-30 21:04:47 +04:00
Andrey Breslav 570789512f Even more detailed error messages 2012-05-30 21:02:20 +04:00