On 9/3/06, Martin Baehr <[EMAIL PROTECTED]> wrote:
[...]
> i get it reproducably like this:
>
[...]

I redefine some functions in my local fish directory, and they work as expected.

What happens if you have two different definitions for the same
function in two different files?

fish> cat > foo.fish
function foo; echo foo; end
fish: Job 1, "cat > foo.fish" terminated by signal SIGINT (Quit
request from job control (^C))
fish> cat > foo2.fish
function foo; echo bar; end
fish: Job 1, "cat > foo2.fish" terminated by signal SIGINT (Quit
request from job control (^C))
fish> . foo.fish
fish> . foo2.fish
fish> functions foo
fish> functions foo
fish> foo
fish> foo

What happens if you redefine the same function in the same file?

fish> cat > bar.fish
function bar; echo bar; end
function bar; echo baz; end
fish: Job 1, "cat > bar.fish" terminated by signal SIGINT (Quit
request from job control (^C))
fish> . bar.fish
fish> functions bar
fish> functions bar
fish> bar
fish> bar

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to