add a regression test for type names and reflect
We were recently altering the logic in reflect.go for type names, which could have broken this kind of valid use of reflection. Add a regression test, which I verified would break before my last change to "simplify" the logic, which actually changed the logic, as xuannv112 correctly pointed out. After thinking about the change in behavior for a little while, I realised that the new behavior is more correct, hence the test.pull/774/head v0.10.1
parent
8f7248939c
commit
d89a55687c
Loading…
Reference in New Issue