"match may not be exhaustive" with Case Class Macros

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.5.0
    • Affects Version/s: None
    • Component/s: Scala
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following code

      `Macros.createCodecProviderIgnoreNone[Account]()`
       

      generates the following error

       

      ```
      match may not be exhaustive.
      It would fail on the following input: (x: String forSome x not in "Account")
          Macros.createCodecProviderIgnoreNone[Account]()
      ```

       

      We have the scala compiler flags to catch missing cases, but I dont see where in the the expanded code there would be a missing case issue.

       

      Thanks! 

              Assignee:
              Ross Lawley
              Reporter:
              Jake Schwartz
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: