Skip to content

Commit 2be2ebb

Browse files
committed
cleanup
1 parent 28f9656 commit 2be2ebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hls-plugin-api/src/Ide/Plugin/Properties.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ instance (HasProperty s k t r) => ParsePropertyPath r (NE s) where
159159
usePropertyByPathEither (SingleKey kn) sm x = parseProperty kn (find kn sm) x
160160
useDefault (SingleKey kn) sm = defaultValue metadata
161161
where (_, metadata) = find kn sm
162-
instance ( ToHsType (FindByKeyPath ss r2) ~ ToHsType (FindByKeyPath (s1 :| ss) r)
163-
,HasProperty s1 ('PropertyKey s1 ('TProperties r2)) t2 r
162+
instance ( ToHsType (FindByKeyPath ss r2) ~ ToHsType (FindByKeyPath (s :| ss) r)
163+
,HasProperty s ('PropertyKey s ('TProperties r2)) t2 r
164164
, ParsePropertyPath r2 ss)
165-
=> ParsePropertyPath r (s1 :| ss) where
165+
=> ParsePropertyPath r (s :| ss) where
166166
usePropertyByPathEither (ConsKeysPath kn p) sm x = do
167167
let (key, meta) = find kn sm
168168
interMedia <- parseProperty kn (key, meta) x

0 commit comments

Comments
 (0)