mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
fix types::may_load_atomic with enums
This commit is contained in:
committed by
Christoffer Lerno
parent
f66cadccd2
commit
9bc5e259d2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user