Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
@TypeChecked rejects code that uses the @Log annotation. It should not.
This code does not compile but should:
import groovy.util.logging.Log import groovy.transform.TypeChecked @Log class Example1 { @TypeChecked void method(String message) { log.info(message) } }
Activity
Cedric Champeau
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Cedric Champeau [ melix ] |
Cedric Champeau
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0-beta-3 [ 18244 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Fix should come soon. Actually, the problem is in the various @Log transformations, which do not create class nodes the proper way.