mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 05:11:19 +00:00 
			
		
		
		
	Fix compile error when multi-module and tags are enabled (#3781)
This commit is contained in:
		
							parent
							
								
									f453d9d5ce
								
							
						
					
					
						commit
						c276aca202
					
				|  | @ -2474,7 +2474,8 @@ wasm_loader_resolve_tag(const char *module_name, const char *tag_name, | |||
|     } | ||||
| 
 | ||||
|     /* check function type */ | ||||
|     if (!wasm_type_equal(expected_tag_type, tag->tag_type)) { | ||||
|     if (!wasm_type_equal(expected_tag_type, tag->tag_type, module->types, | ||||
|                          module->type_count)) { | ||||
|         LOG_DEBUG("%s.%s failed the type check", module_name, tag_name); | ||||
|         set_error_buf(error_buf, error_buf_size, "incompatible import type"); | ||||
|         return NULL; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Benbuck Nason
						Benbuck Nason