Error when computing indentation in certain cases
purcell opened this issue · comments
Steve Purcell commented
Given
%script{'data-main' => javascript_path(Rails.env.production? ? "all" : "main"),
'src' => javascript_path("vendor/require")}
with point in the second line, we get this:
Debugger entered--Lisp error: (no-catch --cl-block-haml-indent-p-- (6 nil))
throw(--cl-block-haml-indent-p-- (6 nil))
haml-indent-p()
haml-compute-indentation()
haml-indent-line()
indent-for-tab-command(nil)
#<subr call-interactively>(indent-for-tab-command nil nil)
ad-Advice-call-interactively(#<subr call-interactively> indent-for-tab-command nil nil)
apply(ad-Advice-call-interactively #<subr call-interactively> (indent-for-tab-command nil nil))
call-interactively(indent-for-tab-command nil nil)
command-execute(indent-for-tab-command)
I'll investigate & fix in due course.