Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388417

Summary: app-shells/fish-1.23.1-r1 wrong if ... else behavior
Product: Gentoo Linux Reporter: Nikolay D Hodyunya <nickolayho>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jer
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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/