Skip to content

Missing parse-time deprecation warnings for imported modules #1072

@hanche

Description

@hanche
Contributor

When a file uses a trailing backslash for continuation in a file and that file is executed via -take or use, no deprecation warning occurs, even if the shell was run with -show-deprecations. The warning is shown in interactive use, however.

Activity

added this to the 0.15.0 milestone on Jul 14, 2020
xiaq

xiaq commented on Jul 14, 2020

@xiaq
Member

In fact all the compile-time deprecation warnings are missing too...

changed the title [-]Missing deprecation warnings for backslash as continuation character[/-] [+]Missing parse- and compile-time deprecation warnings for imported modules[/+] on Jul 14, 2020
changed the title [-]Missing parse- and compile-time deprecation warnings for imported modules[/-] [+]Missing parse-time deprecation warnings for imported modules[/+] on Jul 14, 2020
xiaq

xiaq commented on Jul 14, 2020

@xiaq
Member

Scratch that; compile-time deprecation still work. The original title was correct...

added a commit that references this issue on Jul 14, 2020
3d3cda4
xiaq

xiaq commented on Jul 14, 2020

@xiaq
Member

The fix is cherry-picked onto the v0.14-release branch and will appear in the bugfix release v0.14.1.

added a commit that references this issue on Mar 3, 2024
e5e0446
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hanche@xiaq

        Issue actions

          Missing parse-time deprecation warnings for imported modules · Issue #1072 · elves/elvish