fix types::may_load_atomic with enums

This commit is contained in:
Book-reader
2025-06-07 06:37:19 +00:00
committed by Christoffer Lerno
parent f66cadccd2
commit 9bc5e259d2

View File

@@ -272,6 +272,7 @@ macro bool may_load_atomic($Type) @const
$case FLOAT:
return true;
$case DISTINCT:
$case ENUM:
return may_load_atomic($Type.inner);
$default:
return false;