Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.2.3
-
None
-
None
Description
This may not be a breaking change - it can likely be done with deprecation along the 3.2.x line. The problem is that static imports collide in the GremlinScriptEngine and therefore there are not only situations where certain imports will be "hidden" but it can cause the system behave in non-deterministic fashion depending on the ScriptEngine. For example, groovy's compiler seems to only be able to detect the difference between Column.values and __.values() if wildcards are used. If they are imported directly then one of the other will fail.
Here's a list of the troublemaker names that collide across different methods/enums: or,and,id,values,key,local,value,sum,min,max.
Attachments
Issue Links
- duplicates
-
TINKERPOP-1579 Resolve naming collisions for static imports in the Gremlin language
- Closed