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

Make sure return works within a throws? block #1779

Open
drkameleon opened this issue Nov 6, 2024 · 0 comments
Open

Make sure return works within a throws? block #1779

drkameleon opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working → Core → Exceptions

Comments

@drkameleon
Copy link
Collaborator

Describe the bug

Inspired by this:

    action: function [str, opts][
        not? throws? [
            _: read.json str

            if opts\strict [
                original: strip str
                converted: strip write.json ø _
                return original = converted
            ]

            return true ; <--- if we remove it, it works; but leaving it as-is, doesn't
        ]
    ]
@drkameleon drkameleon added bug Something isn't working → Core → Exceptions labels Nov 6, 2024
@drkameleon drkameleon self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working → Core → Exceptions
Projects
None yet
Development

No branches or pull requests

1 participant