Skip to content

Commit

Permalink
fix detail
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <[email protected]>
  • Loading branch information
martinvuyk committed Nov 27, 2024
1 parent aeaa286 commit c2e9516
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/src/collections/list.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ struct List[T: CollectionElement, hint_trivial_type: Bool = False](
if name == "size" or name == "length":
self._len = value
else:
debug_assert[assert_mode="safe"](False, "that attr does not exist")
constrained[False, "that attr does not exist"]()
abort()

# ===-------------------------------------------------------------------===#
# Life cycle methods
Expand Down

0 comments on commit c2e9516

Please sign in to comment.