mirror of
https://github.com/nushell/nushell.git
synced 2025-07-08 18:37:07 +02:00
Remove lazy records (#12682)
# Description Removes lazy records from the language, following from the reasons outlined in #12622. Namely, this should make semantics more clear and will eliminate concerns regarding maintainability. # User-Facing Changes - Breaking change: `lazy make` is removed. - Breaking change: `describe --collect-lazyrecords` flag is removed. - `sys` and `debug info` now return regular records. # After Submitting - Update nushell book if necessary. - Explore new `sys` and `debug info` APIs to prevent them from taking too long (e.g., subcommands or taking an optional column/cell-path argument).
This commit is contained in:
@ -1178,16 +1178,6 @@ pub enum ShellError {
|
||||
span: Option<Span>,
|
||||
},
|
||||
|
||||
/// An attempt to access a record column failed.
|
||||
#[error("Access failure: {message}")]
|
||||
#[diagnostic(code(nu::shell::lazy_record_access_failed))]
|
||||
LazyRecordAccessFailed {
|
||||
message: String,
|
||||
column_name: String,
|
||||
#[label("Could not access '{column_name}' on this record")]
|
||||
span: Span,
|
||||
},
|
||||
|
||||
/// Operation interrupted by user
|
||||
#[error("Operation interrupted by user")]
|
||||
InterruptedByUser {
|
||||
|
Reference in New Issue
Block a user