You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
				
					
						
							As spotted by the protobuf package via check-third-party.sh,
the two structs below are identical:
    type alias1 = int64
    type Struct1 struct { Alias alias1 }
    type alias2 = int64
    type Struct2 struct { Alias alias2 }
Our previous approach with stripStructTags dealt with struct tags,
but it did not deal with aliases, which are now present in go/types
thanks to the new alias tracking.
The new approach properly ignores struct tags and unaliases any
type aliases, resulting in correct hashes of any type.
						
					
				
			 | 
			10 months ago | |
|---|---|---|
| .. | ||
| bench | 4 years ago | |
| mod | 4 years ago | |
| script | 10 months ago | |