ir: Add buildStorageType util function.
parser: Parse in to scope const T.
semantic: Correct typer storage loop.
test: Add types 23 for in parameters.