-
Key: DMN16-21
-
Status: closed
-
Source: ACTICO ( Daniel Thanner)
-
Summary:
If an expression in a user defined function body references a name outside of it's scope (for example a parent scope), this scope must be available also during invocation of the function.
Examples:
- {f:function() a, a:1, i:f()}
possible, since name a is still available in local context (scope) during invocation
- {b:1,f:function() b}
.f() impossible, since name b is not available outside of the context.
It would be nice if the semantic mapping and the differentiation between function definition and invocation is clearly specified in the spec. What names can be referenced? Must the scopes also be available during invocation?
- {f:function() a, a:1, i:f()}
-
Reported: DMN 1.1 — Wed, 3 May 2017 15:24 GMT
-
Disposition: Deferred — DMN 1.6b1
-
Disposition Summary:
Defer to DMN 1.7
Defer to DMN 1.7
-
Updated: Mon, 16 Sep 2024 14:16 GMT
DMN16 — Can an expression in user defined function body reference a name outside of it's scope?
- Key: DMN16-21
- OMG Task Force: Decision Model and Notation 1.6 RTF