Skip to content

Commit 4549410

Browse files
fixes #1979 (#2254)
Co-authored-by: Jurgen J. Vinju <[email protected]>
1 parent c475335 commit 4549410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/rascalmpl/interpreter/result/ConstructorFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public Result<IValue> computeDefaultKeywordParameter(String label, IConstructor
160160
}
161161
else {
162162
Expression def = getKeywordParameterDefaults().get(kwparam);
163-
IValue res = def.interpret(eval).value;
163+
IValue res = def.interpret(eval).getValue();
164164

165165
if (!res.getType().isSubtypeOf(kwType)) {
166166
throw new UnexpectedKeywordArgumentType(kwparam, kwType, res.getType(), ctx.getCurrentAST());

0 commit comments

Comments
 (0)