Skip to content
Snippets Groups Projects
Commit b145ae9b authored by Adam Welc's avatar Adam Welc
Browse files

We shouldn't be setting the type of pairlist for regular lists.

parent b96f86e8
Branches
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ public abstract class AsVector extends RBuiltinNode {
for (int i = x.getLength() - 1; i >= 0; i--) {
Object name = names == null ? RNull.instance : RDataFactory.createSymbolInterned(names.getDataAt(i));
Object data = x.getDataAt(i);
list = RDataFactory.createPairList(data, list, name, SEXPTYPE.LISTSXP);
list = RDataFactory.createPairList(data, list, name);
}
return list;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment