Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388417 - app-shells/fish-1.23.1-r1 wrong if ... else behavior
Summary: app-shells/fish-1.23.1-r1 wrong if ... else behavior
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2011-10-25 07:42 UTC by Nikolay D Hodyunya
Modified: 2012-03-04 10:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay D Hodyunya 2011-10-25 07:42:52 UTC
that's not normal behavior, hm?

Reproducible: Always

Steps to Reproduce:
execute this in fish shell:
while true
  if true
    echo ok
    break
  else
    echo not ok
  end
end

Actual Results:  
win
lose

Expected Results:  
win
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-25 13:34:56 UTC
Your steps to reproduce are not clear on what outcome you wanted and what you actually got.
Comment 2 Nikolay D Hodyunya 2011-10-27 16:00:21 UTC
while true
  if true
    echo win
    break
  else
    echo fail
  end
end
wanted
win
output, actually i got
win
fail
output.
Comment 3 Pacho Ramos gentoo-dev 2012-03-04 10:42:38 UTC
Report this issue to upstream please:
http://fishshell.com/