Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
7sharp9 committed Sep 17, 2021
1 parent ea3cc68 commit b07a0c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Myriad.Plugins.Example1/Library.fs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ open FsAst
[<MyriadGenerator("example1")>]
type Example1Gen() =
interface IMyriadGenerator with
member __.ValidInputExtensions = seq {".txt"}
member __.Generate(context: GeneratorContext) =
member _.ValidInputExtensions = seq {".txt"}
member _.Generate(context: GeneratorContext) =

let example1Namespace =
context.ConfigKey
Expand All @@ -28,7 +28,7 @@ type Example1Gen() =
let allModules =
File.ReadAllLines context.InputFilename
|> Seq.map (fun moduleName ->
let componentInfo = SynComponentInfoRcd.Create [ Ident.Create (moduleName) ]
let componentInfo = SynComponentInfoRcd.Create [ Ident.Create moduleName ]
let module' = SynModuleDecl.CreateNestedModule(componentInfo, [ let42 ])
module')
|> Seq.toList
Expand Down

0 comments on commit b07a0c5

Please sign in to comment.