Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information