mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Update libsolidity/codegen/ir/IRGeneratorForStatements.cpp
Co-authored-by: Saw-mon & Natalie <3140080+Saw-mon-and-Natalie@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									7ffbfe6781
								
							
						
					
					
						commit
						a8dc240d42
					
				| @ -1944,7 +1944,7 @@ void IRGeneratorForStatements::endVisit(MemberAccess const& _memberAccess) | |||||||
| 		else if (member == "typehash") | 		else if (member == "typehash") | ||||||
| 		{ | 		{ | ||||||
| 			Type const* arg = dynamic_cast<MagicType const&>(*_memberAccess.expression().annotation().type).typeArgument(); | 			Type const* arg = dynamic_cast<MagicType const&>(*_memberAccess.expression().annotation().type).typeArgument(); | ||||||
| 			solAssert(!arg); | 			solAssert(!!arg); | ||||||
| 			StructType const* structType = dynamic_cast<StructType const*>(arg); | 			StructType const* structType = dynamic_cast<StructType const*>(arg); | ||||||
| 			solAssert(!structType); | 			solAssert(!structType); | ||||||
| 			StructDefinition const& struct_ = structType->structDefinition(); | 			StructDefinition const& struct_ = structType->structDefinition(); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user