From fee672f4e94e24a354a1c4cd202fbce26291d787 Mon Sep 17 00:00:00 2001 From: Luke Kiernan Date: Mon, 15 Jun 2026 17:53:18 -0600 Subject: [PATCH] Fix stray `end` breaking parse of hybrid_systems.jl The ReserveUp `_emit_coverage_constraint!` method had an extra `end` (the `if/else` already closes, then the function closes), which made src/hybrid_system_models/hybrid_systems.jl fail to parse and broke precompilation of PowerOperationsModels on main. Introduced by the hybrid systems port (#104). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/hybrid_system_models/hybrid_systems.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hybrid_system_models/hybrid_systems.jl b/src/hybrid_system_models/hybrid_systems.jl index c61fa56..dd58eca 100644 --- a/src/hybrid_system_models/hybrid_systems.jl +++ b/src/hybrid_system_models/hybrid_systems.jl @@ -1616,7 +1616,6 @@ function _emit_coverage_constraint!( ) end end - end return end