-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Record mistaken for Closure? #7921
Copy link
Copy link
Closed
Labels
A:parserIssues related to parsingIssues related to parsingsemanticsPlaces where we should define/clarify nushell's semanticsPlaces where we should define/clarify nushell's semantics
Milestone
Description
Describe the bug
Parse problem with records.
How to reproduce
〉let r = {bar: (date now) - 3day}
〉$r
<Closure 109>Expected behavior
$r should be a record, not a closure.
Screenshots
No response
Configuration
-------------------------------------------- /home/bobhy/src/rust/nushell --------------------------------------------
〉version | transpose key value | to md --pretty
| key | value |
|---|---|
| version | 0.74.1 |
| branch | unicode_escape |
| commit_hash | 719d4ff |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.66.1 (90743e729 2023-01-10) |
| rust_channel | 1.66.1-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.66.1 (ad779e08b 2023-01-10) |
| pkg_version | 0.74.1 |
| build_time | 2023-01-28 10:44:52 -05:00 |
| build_rust_channel | release |
| features | database, default, trash, which, zip |
| installed_plugins |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:parserIssues related to parsingIssues related to parsingsemanticsPlaces where we should define/clarify nushell's semanticsPlaces where we should define/clarify nushell's semantics