Skip to content
Unverified Commit 822be23f authored by Anthony Cowley's avatar Anthony Cowley Committed by GitHub
Browse files

Validate signed integer array size constants (#517)

Until we have some amount of type inference, an integer literal used as a constant array size must have a `u` suffix. This is inconsistent with the surface syntax presented in the spec, and is a minor inconvenience.

For now, allow a signed integer array size to pass validation so that user code need not change when type inference deduces values of the correct type.
parent 51cbd4c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment