Fixed a bug where the type hash became 0 instead of the underlying type.
1 files changed, 1 insertions(+), 1 deletions(-)

M jasm/assemble/assembler_impl/syntax_impl.cpp
M jasm/assemble/assembler_impl/syntax_impl.cpp +1 -1
@@ 1254,7 1254,7 @@ const SyntaxToken *Assembler::parse_defi
 	// fill the type description now when array length has been determined
 	const TypeDescription &type_desc = find_type(final_type_hash);
 	value.type = type_desc.type;
-	value.type_hash = type_desc.underlying_type_hash;
+	value.type_hash = underlying_type_hash;
 
 	if (generate && _hex_source_writer != nullptr) {
 		uint32_t generated_size = static_cast<uint32_t>(data.size() - data_size_before);