Skip to content

Conversation

@gugod
Copy link

@gugod gugod commented Jan 2, 2021

Fix issue #23

When indenting something like

if %h{"foo"} {
    ....... (press tab here)
}

This error happens.

(error "Lisp nesting exceeds ‘max-lisp-eval-depth’")

Note here that while the fix does makes the error go away, it is not
entirely certain whether it breaks the indentation for some other
cases.

But I think we could live with this until we found what's broken.

Fix issue Raku#23

When indenting something like

    if %h{"foo"} {
        ....... (press tab here)
    }

This error happens.

    (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")

Note here that while the fix does makes the error go away, it is not
entirely certain whether it breaks the indentation for some other
cases.

But I think we could live with this until we found what's broken.
Copy link
Member

@Altai-man Altai-man left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a strong feeling this is not a proper solution, but I do know the error is really annoying, so we are better off with than without.

@gugod
Copy link
Author

gugod commented Jan 5, 2021

I agree with @Altai-man ... on the other hand no extra tests are prepared in this PR yet to cover the error cases.

@Altai-man
Copy link
Member

Can you wrote some?

@gugod
Copy link
Author

gugod commented Jan 5, 2021

Of course, after I teach myself how it is done...:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants