-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething that's not working as intendedSomething that's not working as intended
Milestone
Description
Define func.fish with the following contents:
function t1
echo t1
end
functions -c t1 t2
functions t1
functions t2and run it as fish func.fish.
This prints:
# Defined in func.fish @ line 1
function t1
echo t1
end
function t2
echo t1
end
Notice how t2 does not print a line number? I feel it should, specifically line 5.
I noticed this while porting the "function.in" test to littlecheck, because that runs the tests as a file instead of via stdin.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething that's not working as intendedSomething that's not working as intended