git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1827 from anttih/fix-foreign-keyword

Rename `foreign` argument to fix compiling issue

commit20ecf4385e3243f4963b751cded065d5fef090fd authorPhil Freeman <paf31@cantab.net> dateThu 14 Jan 2016, 10:24 (11 years ago) parent604f69d17b5c05
1 file changed+2−2
psci/Types.hs+2−2
psci/Types.hs+2−2
@@ -51,11 +51,11 @@ mkPSCiState :: [ImportedModule]
5151 -> [P.Declaration]
5252 -> [String]
5353 -> PSCiState
54−mkPSCiState imported loaded foreign lets nodeFlags =
54+mkPSCiState imported loaded foreigns lets nodeFlags =
5555 (initialPSCiState
5656 |> each imported updateImportedModules
5757 |> updateModules loaded)
58− { psciForeignFiles = foreign
58+ { psciForeignFiles = foreigns
5959 , psciLetBindings = lets
6060 , psciNodeFlags = nodeFlags
6161 }