Skip to content

Conversation

kallevmercury
Copy link

@kallevmercury kallevmercury commented Jul 31, 2025

Relates to: #51

stack test --stack-yaml stack-9.4.8.yaml
Failures:

  test/Generic.hs:68:76: 
  1) Generic instances TestMaybeTuple should handle Maybe in tuples correctly
       expected: [TSTypeAlternatives {
                   typeName = "IConWithMaybe",
                   typeGenericVariables = [],
                   alternativeTypes = ["[string, number[], string[]]"],
                   typeDoc = Nothing
                 }, TSTypeAlternatives {
                   typeName = "ISimpleConstructor",
                   typeGenericVariables = [],
                   alternativeTypes = ["string"],
                   typeDoc = Nothing
                 }, TSInterfaceDeclaration {
                   interfaceName = "IConWithMaybe",
                   interfaceGenericVariables = [],
                   interfaceMembers = [TSField {
                 @@ 4 lines omitted @@
                 }, TSField {
                   fieldOptional = False,
                   fieldName = "contents",
                   fieldType = "IConWithMaybe",
                   fieldDoc = Nothing
                 }],
                   interfaceDoc = Nothing
                 @@ 21 lines omitted @@
                 
        but got: [TSInterfaceDeclaration {
                   interfaceName = "IConWithMaybe",
                   interfaceGenericVariables = [],
                   interfaceMembers = [TSField {
                 @@ 4 lines omitted @@
                 }, TSField {
                   fieldOptional = False,
                   fieldName = "contents",
                   fieldType = "[string, number[], string[]]",
                   fieldDoc = Nothing
                 }],
                   interfaceDoc = Nothing
                 @@ 21 lines omitted @@

@thomasjm
Copy link
Contributor

thomasjm commented Aug 1, 2025

Issue resolved by #52

@thomasjm thomasjm closed this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants