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
When using @chain, line numbers are given at the level of the @chain command, not sub-commands. This makes it hard to debug. Consider the following script
using Chain
foo(x, y) = x * y
x = [1, 2]
@chain x begin
identity
identity
identity
foo([3, 4])
end
The stacktrace says the error occurs starting on line 7. This makes it hard to debug long @chains. We should try to ensure line number propogation within the chain block.
The text was updated successfully, but these errors were encountered:
When using
@chain
, line numbers are given at the level of the@chain
command, not sub-commands. This makes it hard to debug. Consider the following scriptThe stacktrace says the error occurs starting on line
7
. This makes it hard to debug long@chain
s. We should try to ensure line number propogation within the chain block.The text was updated successfully, but these errors were encountered: