Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Data/Aeson/TypeScript/Instances.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverlappingInstances #-}

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.0.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 8.10.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / stack / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.2.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.10.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.6.7

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.12.2

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.4.8

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Check warning on line 4 in src/Data/Aeson/TypeScript/Instances.hs

View workflow job for this annotation

GitHub Actions / macOS-latest / ghc 9.8.4

-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
{-# LANGUAGE CPP #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TypeApplications #-}
Expand Down Expand Up @@ -160,7 +160,7 @@
let k = getTypeScriptKeyType @a Proxy
v = getTypeScriptType @b Proxy
in const $ case A.toJSONKey @a of
A.ToJSONKeyText {} -> "{[k in " <> k <> "]: " <> v <> "}"
A.ToJSONKeyText {} -> "{[k in " <> k <> "]?: " <> v <> "}"
A.ToJSONKeyValue {} -> getTypeScriptType @[(a, b)] Proxy
getParentTypes = const $ L.nub [TSType @a Proxy, TSType @b Proxy]

Expand Down
2 changes: 1 addition & 1 deletion test/Generic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tests = describe "Generic instances" $ do

it [i|Complex4 makes the declaration and types correctly|] $ do
(getTypeScriptDeclarationsRecursively (Proxy :: Proxy (Complex4 String))) `shouldBe` [
TSInterfaceDeclaration "IProduct4" ["T"] [TSField False "record4" "{[k in string]: T}" Nothing] Nothing
TSInterfaceDeclaration "IProduct4" ["T"] [TSField False "record4" "{[k in string]?: T}" Nothing] Nothing
,TSTypeAlternatives "Complex4" ["T"] ["IProduct4<T>"] Nothing
]

Expand Down
Loading