raku-mode icon indicating copy to clipboard operation
raku-mode copied to clipboard

An attempt to resolve an error on indenting.

Open gugod opened this issue 3 years ago • 3 comments

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.

gugod avatar Jan 02 '21 14:01 gugod

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

gugod avatar Jan 05 '21 00:01 gugod

Can you wrote some?

Altai-man avatar Jan 05 '21 08:01 Altai-man

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

gugod avatar Jan 05 '21 12:01 gugod