Hey @Migueldeicaza I think in the last version of main of swiftgodot there is an error, I just updated one of my repos to the last commit, and generates this error:
I think is the callable macro
=> More informations about this toot | More toots from eickot@mastodon.social
@eickot that looks like your code, you might need to cast to see if this error supports that method perhaps?
We can discuss on Slack in a couple of hours
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social
@Migueldeicaza testing, the problem appears when the function has parameters, an empty function with callable works. but when parameters appears, then the error appears
=> More informations about this toot | More toots from eickot@mastodon.social
@Migueldeicaza Interesting the code that generates, in swift playground says is correct:
https://swiftfiddle.com/tyldhdthxfdenfy2tfvlv2ljee
=> More informations about this toot | More toots from eickot@mastodon.social
@Migueldeicaza Hey, sorry for the lots of messages, I found the issue, I needed to import Foundation. Otherwise any Error doesn't have the localizedError. Is it fine if I create a P/R adding a comment on the line of the localized error?
=> More informations about this toot | More toots from eickot@mastodon.social
@eickot oh we are trying to avoid depending on Foundation for now. For people that want small deps. If you show me the code I can fix it
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social
@Migueldeicaza I also think is not a good experience, to need any external dependencies, and also the error is really missleading
=> More informations about this toot | More toots from eickot@mastodon.social
@eickot Yup, cooking a patch now.
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social
@Migueldeicaza nice, just after finding the issue my laptop died :( i dont know when i will be able to continue
=> More informations about this toot | More toots from eickot@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini