Commit Graph

18992 Commits

Author SHA1 Message Date
Andrey Breslav d5fdfcb797 Resolve dynamic.extensionForDynamic() statically 2014-12-01 20:43:44 +03:00
Andrey Breslav 8ee00b70ee Tests for extensions properties on dynamic types 2014-12-01 20:43:43 +03:00
Andrey Breslav 5cced5a451 Comments on bounded dynamic types 2014-12-01 20:43:43 +03:00
Andrey Breslav 1afe6fca5b Test for vararg parameter of dynamic type 2014-12-01 20:43:43 +03:00
Andrey Breslav 8cf6d24ffe Test for using dynamic types in conditions 2014-12-01 20:43:43 +03:00
Andrey Breslav ea36024893 Report an error on dynamic types used as supertypes or upper bounds 2014-12-01 20:43:43 +03:00
Andrey Breslav 65164e95b5 Test for overrides involving dynamic types 2014-12-01 20:43:42 +03:00
Andrey Breslav e09b624f05 dynamic is not a keyword on the left-hand side of callable references 2014-12-01 20:43:42 +03:00
Andrey Breslav 1f66c64ee0 dynamic receiver admits nullable values 2014-12-01 20:43:42 +03:00
Andrey Breslav ef34b5c9a9 Commented code removed 2014-12-01 20:43:42 +03:00
Andrey Breslav 71b2e8bcf1 Test for substitutions with dynamic types 2014-12-01 20:43:41 +03:00
Andrey Breslav a1c1d25575 Test for using dynamic types with smart casts 2014-12-01 20:43:41 +03:00
Andrey Breslav 712f776545 Test for using dynamic types with smart casts 2014-12-01 20:43:41 +03:00
Andrey Breslav cdecb9d8c4 Test for using dynamic types in type inference 2014-12-01 20:43:41 +03:00
Andrey Breslav 7f0df032b4 Highlight dynamic calls in the editor 2014-12-01 20:43:41 +03:00
Andrey Breslav 52f1e037c1 Dynamic calls have priority over extensions 2014-12-01 20:43:40 +03:00
Andrey Breslav f58b30706e Parsing dynamic in extension receiver position 2014-12-01 20:43:40 +03:00
Andrey Breslav 4f3158abb3 Mark dynamic calls in tests 2014-12-01 20:43:40 +03:00
Andrey Breslav c8029307fa Forbid dynamic on the RHS of is and as 2014-12-01 20:43:40 +03:00
Andrey Breslav 645d931a9e Support for named arguments in dynamic calls 2014-12-01 20:43:39 +03:00
Andrey Breslav 0ebc478d50 Test for dynamic calls with lambdas 2014-12-01 20:43:39 +03:00
Andrey Breslav d2e6767c07 Delegation and nullability turned into capabilities
Otherwise they did not sustain substitutions
2014-12-01 20:43:39 +03:00
Andrey Breslav 845f30975d Basic support for dynamic calls 2014-12-01 20:43:39 +03:00
Andrey Breslav d5932e1a33 Nullability of dynamic types 2014-12-01 20:43:38 +03:00
Andrey Breslav e0bd881c1e Rendering for dynamic types 2014-12-01 20:43:38 +03:00
Andrey Breslav 65794183e7 Specificity supported for dynamic types 2014-12-01 20:43:38 +03:00
Andrey Breslav 20513abe04 Allow dynamic types only in some contexts 2014-12-01 20:43:38 +03:00
Andrey Breslav 28b466d069 Parsing dynamic types 2014-12-01 20:43:37 +03:00
Andrey Breslav 0f26998b19 Spec document for dynamic types 2014-12-01 20:43:37 +03:00
Valentin Kipyatkov d8bad58db8 Fixed JetDeclarationStub.getParent() which was incorrectly implemented before 2014-12-01 16:06:52 +03:00
Valentin Kipyatkov 2daeaa38d9 2 more indices not needed anymore 2014-12-01 16:06:52 +03:00
Valentin Kipyatkov 2a2fa5d4f2 More simple and effective top-level declarations by name search 2014-12-01 16:06:52 +03:00
Valentin Kipyatkov e6e6fda251 More correct implementation PsiShortNamesCache (although I do not know if it matters at all) 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov 486c83a174 Dropped 2 more not needed indices 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov 4408944dc3 Dropped index which is not needed anymore 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov 1431167afb Renamed two index classes for consistency 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov a50f9863b3 Classes by package index now contains only top-level classes 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov 375a8f6049 Added indices for functions and properties in package and used them to speed up completion 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov 9f6dd3ce2e Faster completion by not iterating over full class index for each package 2014-12-01 16:06:51 +03:00
Zalim Bashorov 7539eb3dfc Fix build on windows: use forward-slash in path to config files, it's important for access to files inside jar/zip. 2014-12-01 15:27:39 +03:00
Zalim Bashorov 31d4a8c226 JS frontend: added tests for nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:38 +03:00
Zalim Bashorov 99745dfa90 Drop platform parameter in diagnostic tests(partial revert of 2a334fc). 2014-12-01 15:27:38 +03:00
Zalim Bashorov a8e8f9b44e Move JsUnitTestReporter.java to utils. 2014-12-01 15:27:37 +03:00
Zalim Bashorov 3f480361f1 Move LibrarySourcesConfigWithCaching to js.frontend module. 2014-12-01 15:27:37 +03:00
Zalim Bashorov c06d70d190 JS frontend: added checkers for nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:36 +03:00
Zalim Bashorov fdfbae05e4 Move AnnotationsUtils to js.frontend 2014-12-01 15:27:35 +03:00
Zalim Bashorov 7073f20484 JsDescriptorUtils#(isExtension, isOverride, getContainingClass) -> DescriptorUtils#(*) 2014-12-01 15:27:35 +03:00
Zalim Bashorov e9dbb97e22 Minor in JS backend: refactoring JsInvocation. 2014-12-01 15:27:34 +03:00
Zalim Bashorov b06096469a JS backend: added the support nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:34 +03:00
Zalim Bashorov e6b69e48d9 Minor: fix JetCoreEnvironment#(createForProduction, createForTests) call sites for JVM. 2014-12-01 15:27:33 +03:00