Skip to content

Commit

Permalink
Fixed codec. finos#1172
Browse files Browse the repository at this point in the history
  • Loading branch information
AttilaMihaly committed Nov 13, 2024
1 parent 79ca560 commit 96e5f38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Morphir/Elm/Frontend/Codec.elm
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ import Morphir.Elm.Frontend exposing (ContentLocation, ContentRange, Error(..),
import Morphir.Elm.Frontend.Resolve as Resolve
import Morphir.IR.Name.Codec exposing (encodeName)
import Morphir.IR.Path as Path
import Morphir.IR.Path.Codec exposing (encodePath)
import Morphir.JsonExtra as JsonExtra
import Morphir.Type.Infer.Codec as InferCodec
import Parser exposing (DeadEnd)
Expand Down Expand Up @@ -171,6 +172,11 @@ encodeError error =
, InferCodec.encodeTypeError typeError
]

ExposedModuleNotFound path ->
JsonExtra.encodeConstructor "ExposedModuleNotFound"
[ encodePath path
]


{-| Encode ContentLocation.
-}
Expand Down

0 comments on commit 96e5f38

Please sign in to comment.