Skip to content

Commit 9d72daa

Browse files
committed
PATCH: static_assert(false) in constexpr is not supported.
1 parent 33851f1 commit 9d72daa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/handles/handles.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class Handle final : public HandleBase {
135135
//
136136
// If you got an error here and want to access the Tagged<T>, use
137137
// operator* -- e.g. for `Tagged<Smi>::value()`, use `(*handle).value()`.
138-
static_assert(
139-
false,
140-
"This handle does not reference a heap object. Use `(*handle).foo`.");
138+
//cjh static_assert(
139+
// false,
140+
// "This handle does not reference a heap object. Use `(*handle).foo`.");
141141
#endif
142142
}
143143
}

0 commit comments

Comments
 (0)