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
This is another one "I'm not sure where the bug lies" — I hope these are helpful regardless — please feel free to close if it's not an issue with this library.
It seems that Julia LSP misunderstands @chain with a user function. Here's an example:
using Chain, Underscores, StatsBase, Base.Iterators, DataStructures
input =@chainbeginread(open("Day-6.txt"), String)
strip
split(",")
@.parse(Int, _)
end
start =@chain input countmap DefaultDict(0, _)
functionrun(start, n)
current =copy(start)
for i =1:n
next =DefaultDict(0, Dict(i -1=> current[i] for i inkeys(current) if i >0))
next[6] += next[8] = current[0]
current = next
end
current
end@chain start run(256) values sum # run returns "Possible method call error"
Here's a screenshot:
The text was updated successfully, but these errors were encountered:
This is another one "I'm not sure where the bug lies" — I hope these are helpful regardless — please feel free to close if it's not an issue with this library.
It seems that Julia LSP misunderstands
@chain
with a user function. Here's an example:Here's a screenshot:
The text was updated successfully, but these errors were encountered: