Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior of empty? -b #4634

Closed
hustcer opened this issue Feb 25, 2022 · 1 comment · Fixed by #4797
Closed

Unexpected behavior of empty? -b #4634

hustcer opened this issue Feb 25, 2022 · 1 comment · Fixed by #4797
Labels
🐛 bug Something isn't working
Milestone

Comments

@hustcer
Copy link
Contributor

hustcer commented Feb 25, 2022

Describe the bug

Unexpected behavior of empty? -b

How to reproduce

Run echo [[version count]; [0.1.0 1] [0.1.1 $nothing]] | empty? count -b { |_| 3 }
in v0.44 will get:

  #   version   count
───────────────────────
  0   0.1.0         1
  1   0.1.1         3

And in v0.59 will get:

  #   version   count
───────────────────────
  0   0.1.0     true
  1   0.1.1         3

Expected behavior

  #   version   count
───────────────────────
  0   0.1.0         1
  1   0.1.1         3

Screenshots

No response

Configuration

key value
version 0.59.0
branch main
short_commit 3c62d27
commit_hash 3c62d27
commit_date 2022-02-24 19:02:28 +00:00
build_os macos-x86_64
rust_version rustc 1.58.1 (db9d1b20b 2022-01-20)
rust_channel stable-x86_64-apple-darwin
cargo_version cargo 1.58.0 (f01b232bc 2022-01-19)
pkg_version 0.59.0
build_time 2022-02-25 09:46:17 +08:00
build_rust_channel release
features dataframe, default, trash, which, zip
installed_plugins gstat, inc, query, query json, query web, query xml

Additional context

No response

@sophiajt sophiajt added the 🐛 bug Something isn't working label Feb 25, 2022
@fdncred
Copy link
Collaborator

fdncred commented Feb 25, 2022

agreed. I mentioned this same thing here #4314 but I hadn't filed an issue yet. thanks!

@hustcer hustcer added the 0.60 label Mar 4, 2022
@hustcer hustcer added this to the v0.60.0 milestone Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants