using ... todo, or ... wip and not implemented errors.
This commit is contained in:
1 parent
8e3c330e04
commit
b997fa0f9f
1 file changed
+2
-2
@@ -85,14 +85,14 @@ public class Functions {
|
|||||||
expression.addLazyFunction("outer", 1, (c, t, lv) ->
|
expression.addLazyFunction("outer", 1, (c, t, lv) ->
|
||||||
{
|
{
|
||||||
if (t != Context.LOCALIZATION)
|
if (t != Context.LOCALIZATION)
|
||||||
throw new InternalExpressionException("Outer scoping of variables is only possible in function signatures");
|
throw new InternalExpressionException("Outer scoping of variables is only possible in function signatures.");
|
||||||
return (cc, tt) -> new FunctionAnnotationValue(lv.get(0).evalValue(c), 0);
|
return (cc, tt) -> new FunctionAnnotationValue(lv.get(0).evalValue(c), 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
expression.addLazyUnaryOperator("...", Operators.precedence.get("def->..."), false, (c, t, lv) ->
|
expression.addLazyUnaryOperator("...", Operators.precedence.get("def->..."), false, (c, t, lv) ->
|
||||||
{
|
{
|
||||||
if (t != Context.LOCALIZATION)
|
if (t != Context.LOCALIZATION)
|
||||||
throw new InternalExpressionException("Outer scoping of variables is only possible in function signatures");
|
throw new InternalExpressionException("That functionality has not been implemented yet.");
|
||||||
return (cc, tt) -> new FunctionAnnotationValue(lv.evalValue(c), 1);
|
return (cc, tt) -> new FunctionAnnotationValue(lv.evalValue(c), 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user