From 6137706a11754b6d8896501ec75cb98cb146dd2a Mon Sep 17 00:00:00 2001 From: Zbynek Slajchrt <zbynek.slajchrt@oracle.com> Date: Wed, 21 Dec 2016 11:34:37 +0100 Subject: [PATCH] A small fix in SetAttributeNode --- .../com/oracle/truffle/r/nodes/attributes/SetAttributeNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/attributes/SetAttributeNode.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/attributes/SetAttributeNode.java index 3b86bb8627..f7991d5324 100644 --- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/attributes/SetAttributeNode.java +++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/attributes/SetAttributeNode.java @@ -78,7 +78,7 @@ public abstract class SetAttributeNode extends AttributeAccessNode { @Cached("lookupShape(attrs)") Shape shape, @Cached("lookupLocation(shape, name, value)") Location location) { try { - location.set(attrs, value); + location.set(attrs, value, shape); } catch (IncompatibleLocationException | FinalLocationException ex) { RInternalError.reportError(ex); } -- GitLab