From d05e2da410871b59e8d67622dc5c99b7f6602238 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 Aug 2025 07:44:59 -0400 Subject: [PATCH] Fix function call line split in debug.jl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix unnecessarily split function call in DomainError hint registration. Line length reduced to 123 characters, improving readability. Following Catalyst.jl PR #1306 guidelines. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/debug.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/debug.jl b/src/debug.jl index 9cb5c5928..d8c1ae21d 100644 --- a/src/debug.jl +++ b/src/debug.jl @@ -58,10 +58,7 @@ expression. Two common reasons for this issue are: function __init__() Base.Experimental.register_error_hint(DomainError) do io, e - if e isa DomainError && - occursin( - "will only return a complex result if called with a complex argument. Try ", - e.msg) + if e isa DomainError && occursin("will only return a complex result if called with a complex argument. Try ", e.msg) println(io, DOMAINERROR_COMPLEX_MSG) end end