lang: Prevent struct types with duplicate field names
The previous fix for #591 in 70eecd5 didn't address all issues
concerning duplicate struct field names. It still crashed for inputs
like `$d []struct{x int; x float}`. Note the different types but
duplicate names.
This commit is contained in:
committed by
James Shubin
parent
ea37132ce4
commit
6279be073b
@@ -0,0 +1 @@
|
||||
$d []struct{x int;x float}
|
||||
Reference in New Issue
Block a user