packages feed

moonlight-planar-1.1.0.0: test/public-components/compile-fail/PolygonOuterUpdate.hs

-- Expected: GHC-22385, record field polygonOuterLoop not in scope.
module Client (observe, attempt) where

import Moonlight.Planar.Region (ExactLoop, PolygonComponent, polygonOuterLoop)

observe :: PolygonComponent -> ExactLoop
observe = polygonOuterLoop

attempt :: PolygonComponent -> ExactLoop -> PolygonComponent
attempt component outer = component { polygonOuterLoop = outer }