diff --git a/distribution/lib/Standard/Table/0.0.0-dev/src/Table.enso b/distribution/lib/Standard/Table/0.0.0-dev/src/Table.enso index 6a699a312702..2242df20e4b9 100644 --- a/distribution/lib/Standard/Table/0.0.0-dev/src/Table.enso +++ b/distribution/lib/Standard/Table/0.0.0-dev/src/Table.enso @@ -3785,8 +3785,10 @@ type Table x = case n of Duplicate_Rows_Method.Integer_Range from to step -> range_col = case to of - _ : Integer -> self.make_constant_column (from.up_to to step=step) - _ : Column_Ref -> ((self:Table_Ref).resolve to).map (x->0.up_to x) + _ : Integer -> case from of + _ : Integer -> self.make_constant_column (from.up_to to step=step) + _ : Column_Ref -> ((self:Table_Ref).resolve from).map x->(x.up_to to) + _ : Column_Ref -> ((self:Table_Ref).resolve to).map x->(0.up_to x) self.set range_col as="generate_rows_id" x.expand_to_rows "generate_rows_id"