You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a function that returns the 3rd element from that tuple, also saying that it is a Macro.Env.t(). However, it isn't actually returning a Macro.Env.t() as far as I can tell, but a map with the same keys and some additional keys, w/o the struct? Not sure. But to address it on my end I did this:
|>then(fnvalue-># makes dialyzer happy?{:ok,Map.take(value,Map.keys(%Macro.Env{}))}end)
I don't know if that just breaks its inference or actually fixes anything though 😆
The text was updated successfully, but these errors were encountered:
Its currently specced like so:
I have a function that returns the 3rd element from that tuple, also saying that it is a
Macro.Env.t()
. However, it isn't actually returning aMacro.Env.t()
as far as I can tell, but a map with the same keys and some additional keys, w/o the struct? Not sure. But to address it on my end I did this:I don't know if that just breaks its inference or actually fixes anything though 😆
The text was updated successfully, but these errors were encountered: