Commit Graph

30 Commits

Author SHA1 Message Date
Tal Man aeb5bae556 Refactoring of CompileTimeConstant, introduce flag to represent a constant being referenced by a variable 2014-04-09 14:47:05 -04:00
Natalia Ukhorskaya 4dbcb256d3 Add JetDiagnosticTest with stdlib 2014-01-28 18:21:46 +04:00
Natalia Ukhorskaya 3f429116e5 Add constructor parameter for compileTimeConstant (can be used in annotation) 2014-01-28 18:21:44 +04:00
Natalia Ukhorskaya fd3f852a93 Annotation parameter must be constant on vararg and array arguments 2014-01-28 18:21:43 +04:00
Natalia Ukhorskaya 5d2cb2f97b Annotations inheritance. Either prohibit or implement correctly #KT-3225 Fixed 2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya cce6b952bd Add warning when 'val' keyword on annotation parameter is missing
#KT-1900
2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya 513a59d552 Check annotations on anonymous intializers
#KT-2208 Fixed
2013-12-23 13:45:57 +04:00
Natalia Ukhorskaya 359f2ddbda Prohibit instantiation of annotation classes
#KT-3465 Fixed
2013-12-23 13:45:57 +04:00
Natalia Ukhorskaya 31ad4f8451 Annotation parameter must be constant 2013-12-17 15:41:24 +04:00
Andrey Breslav db9dd5d320 Allow annotations on loop statements 2013-09-24 06:58:41 -07:00
Andrey Breslav b379ab3ebd Resolve annotations on expressions and multi-declarations 2013-09-24 06:58:41 -07:00
Nikolay Krasko e4c1fe7c3a Report unsupported annotations for local variables 2013-09-11 12:01:34 +04:00
Nikolay Krasko 08b8f56740 Fix rewrite for ANNOTATION slice (EA-49336) 2013-09-11 12:01:32 +04:00
Svetlana Isakova 30b0a72c6b analyze all arguments with unknown expected type
in the beginning of call resolution process
2013-09-03 13:09:07 +04:00
Natalia.Ukhorskaya e11f130278 'annotation' keyword should be allowed only on classes
#KT-2785 Fixed
2013-07-25 17:00:10 +04:00
Natalia.Ukhorskaya 73000ec407 Change error message for nullable annotation member 2013-07-25 13:25:02 +04:00
Natalia.Ukhorskaya 33ddd713b7 Check annotation constructor parameter types 2013-07-04 14:37:29 +04:00
Natalia.Ukhorskaya 62d8153ada Map java.land.Deprecated to jet.deprecated
Change testData for deprecated annotation
 #KT-2947 Fixed
2012-10-18 19:14:04 +04:00
Natalia.Ukhorskaya 60bdae9d75 Prohibit body for annotation class
#KT-1886 Fixed
2012-09-13 16:27:48 +04:00
Nikolay Krasko 03989b9055 EA-36935 Rewriting annotations exception when file contains object with annotation. 2012-08-30 13:21:06 +04:00
Andrey Breslav 3d8d92c7d3 JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00
Svetlana Isakova 53b59ce152 EA-36814. Do not repeat annotations resolve
for primary constructor parameters as properties
(annotations are already resolved for parameters themselves)
2012-06-22 17:26:29 +04:00
Andrey Breslav c686184847 KT-1860 Resolve annotations of function parameters
#KT-1860 Fixed
2012-04-24 21:53:23 +04:00
Andrey Breslav 0a42abc7c9 KT-1152 Only allow annotation classes to be instantiated as annotations
#KT-1152 Fixed
2012-03-28 19:40:45 +04: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
Andrey Breslav 92e496c43b Constructors for Java annotations 2012-01-26 13:43:46 +04:00
Andrey Breslav 91337b8d9c Basic annotations on classes 2012-01-25 20:37:59 +04:00
Andrey Breslav 3130580d59 Test fixed 2012-01-25 20:12:28 +04:00
Andrey Breslav f8123e5fb3 Basic support for Java and Kotlin annotations 2012-01-25 19:35:42 +04:00