cmd/go2go: panics with unimplemented Spec *ast.TypeSpec #39741
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What did you do?
Tried to run: https://go2goplay.golang.org/p/BFTD2DdjyeP
What did you expect to see?
1 : 1, 1
2 : 1, 2
3 : 2, 6
4 : 3, 24
5 : 5, 120
6 : 8, 720
7 : 13, 5040
8 : 21, 40320
9 : 34, 362880
What did you see instead?
panic: unimplemented Spec *ast.TypeSpec
Other notes
This was a first attempt at porting the non-generic version here: https://gist.github.com/wancw/4301d95cea1169631435
Also tried this alternative. It doesn't panic, but asked for an operand and I'm not sure why.
The text was updated successfully, but these errors were encountered: