sway
sway copied to clipboard
Internal compiler error when declaring a constant inside a function
The following code throws Internal compiler error: Verification failed: Store value and pointer type mismatch
:
fn test_function() -> bool {
const PROJECT_NAME = "fuel";
true
}