Open tingerrr opened 6 months ago
mantys
and tidy
both create labels for the functions and without a namespace for the tidy module, those labels collide. I will look into that.
For now, you can simply set a name
when calling tidy-module
:
#tidy-module(read("/src/lib.typ"), name:"lib")
As a sidenote: String arguments seem to be escaped twice. I opened an issue (#6) and will look into that as well.
I wanted to try out mantys for a new package I was working on and ran into an issue, the following code complained about the labels for the functions being defined multiple times:
You can see the full repository at this point here.