Svetlana Isakova
2ebe8fd6a2
improvements after review in constraint system tests
2014-02-12 12:48:15 +04:00
Svetlana Isakova
9832676701
generate constraint system tests
...
more tests added
2014-02-12 12:48:13 +04:00
Svetlana Isakova
b51e3dc464
added ConstraintSystemTest
2014-02-12 12:48:11 +04:00
Alexander Udalov
877d9f2220
Update year to 2014 in generated files
2014-01-31 16:46:16 +04:00
Natalia Ukhorskaya
97da2def08
Record COMPILE_TIME_INITIALIZER for all final variables
2014-01-28 18:21:42 +04:00
Zalim Bashorov
d032b5589c
Frontend: fixed resolve annotation parameters on properties, accessors, accessor parameters, function parameters when not need complete analysis.
2014-01-27 15:34:55 +04:00
Evgeny Gerashchenko
ae4c68830d
Importing root scope without members.
2014-01-16 22:11:55 +04:00
Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
b41a3f8558
Got rid of "namespace" word in compiler code.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
791b5bb84c
JetNamespaceHeader → JetPackageDirective.
2014-01-14 18:06:48 +04:00
Andrey Breslav
65d90e18a2
Use DescriptorRenderer to render annotations everywhere
2014-01-14 16:37:50 +04:00
Evgeny Gerashchenko
cd8f5fae54
Renamed some generated tests to follow conventions.
2013-12-19 21:48:37 +04:00
Evgeny Gerashchenko
fa89d537fa
Fixed generator class name.
2013-12-19 21:48:36 +04:00
Natalia Ukhorskaya
9b51a77cdf
Remove unused field
2013-12-19 16:43:11 +04:00
Evgeny Gerashchenko
73114d7e9c
Fragment providers added on higher level.
2013-12-17 20:28:50 +04:00
Evgeny Gerashchenko
557aaf363a
Renamed method and got rid of some usages.
2013-12-17 20:28:47 +04:00
Evgeny Gerashchenko
7abe6a5b4a
Big refactoring. Migrating to package views and fragments.
2013-12-17 19:18:33 +04:00
Svetlana Isakova
928f77ffce
set explicit receiver kind properly for calls
2013-12-16 16:24:21 +04:00
Natalia Ukhorskaya
17152c39e0
Tear down for test
2013-12-05 15:21:59 +04:00
Natalia Ukhorskaya
2a023c16a9
Use type from compile time value for prefix expression
2013-12-05 15:21:55 +04:00
Natalia Ukhorskaya
e6923ba29e
create StringValue only for primitive compile time values
2013-12-05 15:20:23 +04:00
svtk
1bd63fefa4
Support equlas in ConstantExpressionEvaluator
2013-12-05 15:20:14 +04:00
Natalia Ukhorskaya
96dc8b42bb
Support for unary expressions
2013-12-05 15:20:08 +04:00
Natalia Ukhorskaya
b7b957ffd2
Deparentesize expression in ConstantExpressionEvaluator
2013-12-05 15:19:58 +04:00
Natalia Ukhorskaya
210899af22
Support && and || in ConstantExpressionEvaluator
2013-12-05 15:19:55 +04:00
Natalia Ukhorskaya
f8f55799b9
Support or, and, xor and etc in ConstantExpressionEvaluator
2013-12-05 15:19:49 +04:00
Natalia Ukhorskaya
41387c3544
Support plus, minus, div, mod, multiply in ConstantExpressionEvaluator
2013-12-05 15:19:46 +04:00
Natalia Ukhorskaya
50d29e0526
Support string templates in ConstantExpressionEvaluator
2013-12-05 15:19:37 +04:00
Natalia Ukhorskaya
0b1dd2d2be
Support toInt, toChar and etc as CompileTimeConstants
2013-12-05 15:19:26 +04:00
Natalia Ukhorskaya
9dcee96734
Move test methods to separate class
2013-12-05 15:19:22 +04:00
Natalia Ukhorskaya
c437b8c4dc
Rename files
2013-12-05 15:19:22 +04:00
Alexander Udalov
57678a5506
Fix AnnotationDescriptorResolveTest, objects are now classes in scopes
2013-12-02 19:56:06 +04:00
svtk
b178c79573
analyze function arguments after completion for unresolved and ambiguity cases
2013-11-27 14:26:36 +04:00
Alexander Udalov
ff29684e3d
Delete ExpressionPosition
...
It had been deprecated in 838c408
2013-11-21 19:34:50 +04:00
Andrey Breslav
dabd048352
Do not rely on PSI when checking resolution results for packages (by geevee)
2013-11-07 19:18:55 +04:00
Alexander Udalov
7fa39eb41b
Delete InjectorForJDR.getPsiClassFinder()
...
Replace its usages by getJavaClassFinder(). Remove code duplication in
AnalyzerFacadeForJVM/LazyResolveTestUtil
2013-10-04 18:32:38 +04:00
Svetlana Isakova
f0bb41ba50
resolve default values for parameters for local functions
...
moved method 'resolveValueParameters'
#KT-3978 In progress
2013-09-13 16:04:17 +04:00
Alexander Udalov
eaacff4566
Remove RuntimeHandleClassesMode
...
There were two usages of RuntimeHandleClassesMode.REPORT_ERROR: first in tests,
where it never occurred, second in JavaClassResolver, where it's now inlined
2013-09-04 21:55:00 +04:00
Andrey Breslav
db2b19c50f
Support filtering diagnostics in tests
2013-09-04 13:07:25 +04:00
Alexander Udalov
2d7a5ebf36
Simplify injectors for frontend.java
...
- delete InjectorForJavaSemanticServices, replace its usages with
InjectorForJavaDescriptorResolver
- delete unneeded fields and parameters of InjectorForJavaDescriptorResolver
2013-08-26 15:59:57 +04:00
Pavel V. Talanov
a57f74c278
Introduce VariableDescriptorForObject interface
...
Add implementations
Use this interface instead of CLASS_OBJECT_DECLARATION key in BindingContext
2013-08-23 17:39:16 +04:00
Natalia.Ukhorskaya
b6bdcb303d
Resolve java.lang.Class as annotation argument
2013-07-05 19:18:58 +04:00
Natalia.Ukhorskaya
bbed2da4dd
Resolve annotations in annotation arguments
2013-07-05 19:18:57 +04:00
Natalia.Ukhorskaya
42b0bdc54d
Support varargs in annotation arguments
2013-07-05 19:18:56 +04:00
Natalia.Ukhorskaya
42f10d77db
Add annotation argument type in tests
2013-07-05 19:18:55 +04:00
Natalia.Ukhorskaya
98d3b1e113
Resolve arrays in annotation arguments
2013-07-05 19:18:54 +04:00
Natalia.Ukhorskaya
dddec9ea3d
Resolve enum in annotation arguments
2013-07-05 19:18:53 +04:00
Svetlana Isakova
9347a48df8
restored priorities
...
members with invoke have more priority than extensions
2013-07-05 18:03:51 +04:00
Svetlana Isakova
54e1cf0879
removed incorrect code from resolve tests
...
Resolve tests had a functionality that for primary constructor parameters
class A(val x: Int, y: Int)
`$x` was resolved to property descriptor while `x` was resolved to value parameter descriptor.
But it worked incorrect (see tests changes) and was senseless because 'x' in code always resolves to property descriptor.
So it was dropped.
2013-07-05 18:03:51 +04:00
Natalia.Ukhorskaya
2152c22f86
Resolve annotation class constructors before other constructors
2013-07-04 14:38:17 +04:00