Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
coming from Java it is a bit difficult for some users to find their way into dynamic programming, especially when it comes to method being there or not. therefor I suggested an annotation with source visibility, that can be used by the compiler to check if a method actually exists. This will slow down compilation a bit and may not be supported by IDEs as of yet. Also the check will be a check only, it will not force any kind of method selection at runtime. I suggested to let the compiler throw an error if the annotation forces compiler to check if a method exists, but is unknown, because I am against warnings. the annotation should be used at method or class scope.
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.5.7 [ 14242 ] | |
| Fix Version/s | 1.6-beta-2 [ 14261 ] | |
| Fix Version/s | 1.5.8 [ 14630 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.5.8 [ 14630 ] | |
| Fix Version/s | 1.6.2 [ 15151 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.6.3 [ 15251 ] | |
| Fix Version/s | 1.6.2 [ 15151 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.7-beta-1 [ 14014 ] | |
| Fix Version/s | 1.6.3 [ 15251 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.7-beta-x [ 15538 ] | |
| Fix Version/s | 1.7-beta-1 [ 14014 ] |
Cedric Champeau
made changes -
| Assignee | Jochen Theodorou [ blackdrag ] | Cedric Champeau [ melix ] |
Cedric Champeau
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Cedric Champeau
made changes -
| Parent |
|
|
| Issue Type | Improvement [ 4 ] | Sub-task [ 7 ] |
Cedric Champeau
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0-beta-1 [ 17925 ] | |
| Fix Version/s | 1.7.x [ 15538 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
My company haS a rather large framework built on java and groovy. We prefer to code in groovy than java, but we miss compile-time checks when we are not using dynamic language features such as method missing. When your code base grows over 200k LOC, then compile time interface checking is a nice option.
It would be nice to be able to instruct the compiler to throw errors when compiling modules/classes/methods that we explicitly tell it don't use dynamic stuff.