Hey there! I noticed that my last PR #67 did not quite cover all possible cases with generic declarations so i followed up with some fixes. I've also implemented Go-based snapshot testing, hope you don't mind!
The general idea right now is to use go/printer package to render constraints references instead of manual traversal and string concatenation
Changelog:
Added support for composite generics (see new test cases for examples)
Extracted interface evaluation into a separate package (to unbloat the main.go file)
Implemented automatic Go based snapshot testing instead of manual Makefile
Hey there! I noticed that my last PR #67 did not quite cover all possible cases with generic declarations so i followed up with some fixes. I've also implemented Go-based snapshot testing, hope you don't mind!
The general idea right now is to use go/printer package to render constraints references instead of manual traversal and string concatenation
Changelog: