Browse Source

tower backend: fixup string name for Input monitor

Pat Hickey 8 years ago
parent
commit
b14696f0e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Gidl/Backend/Tower/Schema.hs

+ 1 - 1
src/Gidl/Backend/Tower/Schema.hs

@@ -122,7 +122,7 @@ schemaDoc interfaceName (Schema schemaName schema) = stack
     , indent 2 $ stack
         [ towerMonadDependencies
         , text "frame_ch <- channel"
-        , text "monitor" <+> dquotes (text (outputFuncName typeName))
+        , text "monitor" <+> dquotes (text (inputFuncName typeName))
             <+> text "$ do"
         , indent 2 $ stack
             [ text "handler" <+> parens (accessorName n <+> text "a")