Skip to content

implement means to learn about a function source - #3718

Closed
krader1961 wants to merge 2 commits into
fish-shell:masterfrom
krader1961:where-does-a-func-get-defined
Closed

krader1961 wants to merge 2 commits into
fish-shell:masterfrom
krader1961:where-does-a-func-get-defined

Conversation

@krader1961

Copy link
Copy Markdown
Contributor

This implements a way to use the functions command to perform
introspection to learn about the characteristics of a function. Such as
where it came from.

Partial fix for #3295

This implements a way to use the `functions` command to perform
introspection to learn about the characteristics of a function. Such as
where it came from.

Partial fix for #3295
@ridiculousfish
ridiculousfish self-requested a review January 10, 2017 15:20
Based on initial feedback change the `--file` flag to `--metadata`.

Include that information in the function definition output if the
function was not defined interactively or from stdin.
@krader1961

Copy link
Copy Markdown
Contributor Author

@ridiculousfish, Do you need more time to review this or can I go ahead and merge?

@faho faho added the release notes Something that is or should be mentioned in the release notes label Jan 20, 2017
@ridiculousfish

Copy link
Copy Markdown
Member

Sorry for the delay, this fell off my radar. Reviewed, changes seem fine. Thanks for doing this!

@krader1961

Copy link
Copy Markdown
Contributor Author

Squash merged as 2e38cf2.

@zanchey

zanchey commented Jan 21, 2017

Copy link
Copy Markdown
Member

OpenSUSE builds are failing with the following after this merge:

[   77s] ... running 02-check-gcc-output
[   77s] ... testing for serious compiler warnings
[   77s]     (using /usr/lib/build/checks-data/check_gcc_output)
[   77s]     (using //.build.log)
[   77s]
[   77s] I: Expression compares a char* pointer with a string literal.
[   77s]    Usually a strcmp() was intended by the programmer
[   77s] E: fish stringcompare src/builtin.cpp:1068

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement release notes Something that is or should be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants