Commit 84e977c8 authored by Stefan Behnel's avatar Stefan Behnel

disable slice assignments to pointers for now

parent 4f8e669d
......@@ -1831,6 +1831,7 @@ class SliceIndexNode(ExprNode):
array_length = rhs.type.size
self.generate_slice_guard_code(code, array_length)
else:
error("Slice assignments from pointers are not yet supported.")
# FIXME: fix the array size according to start/stop
array_length = self.base.type.size
for i in range(array_length):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment