@@ -171,57 +171,57 @@ let TypeCheck
171
171
let byteReaderA () = ByteMemory.Empty.AsReadOnly()
172
172
let byteReaderB = None
173
173
174
- let tcInfo =
174
+ let tcInfo =
175
175
GetTypecheckingData(
176
176
assembly.FileName,
177
177
assembly.ILScopeRef,
178
178
assembly.RawMetadata.TryGetILModuleDef(),
179
179
byteReaderA,
180
- byteReaderB)
180
+ byteReaderB
181
+ )
181
182
182
183
let rawData = tcInfo.RawData
183
- let topAttrs = {
184
- mainMethodAttrs = rawData.MainMethodAttrs
185
- netModuleAttrs = rawData.NetModuleAttrs
186
- assemblyAttrs = rawData.AssemblyAttrs
187
- }
184
+
185
+ let topAttrs =
186
+ {
187
+ mainMethodAttrs = rawData.MainMethodAttrs
188
+ netModuleAttrs = rawData.NetModuleAttrs
189
+ assemblyAttrs = rawData.AssemblyAttrs
190
+ }
188
191
189
192
// need to understand if anything can be used here, pickling state is hard
190
193
tcInitialState,
191
- topAttrs,
194
+ topAttrs,
192
195
rawData.DeclaredImpls,
193
196
// this is quite definitely wrong, need to figure out what to do with the environment
194
197
tcInitialState.TcEnvFromImpls
195
198
196
199
else
197
- let tcState, topAttrs, declaredImpls, tcEnvAtEndOfLastFile = CheckClosedInputSet(
198
- ctok,
199
- diagnosticsLogger.CheckForErrors,
200
- tcConfig,
201
- tcImports,
202
- tcGlobals,
203
- None,
204
- tcInitialState,
205
- eagerFormat,
206
- inputs
207
- )
200
+ let tcState, topAttrs, declaredImpls, tcEnvAtEndOfLastFile =
201
+ CheckClosedInputSet(
202
+ ctok,
203
+ diagnosticsLogger.CheckForErrors,
204
+ tcConfig,
205
+ tcImports,
206
+ tcGlobals,
207
+ None,
208
+ tcInitialState,
209
+ eagerFormat,
210
+ inputs
211
+ )
208
212
209
213
if false then
210
- let tcInfo = {
211
- MainMethodAttrs = topAttrs.mainMethodAttrs
212
- NetModuleAttrs = topAttrs.netModuleAttrs
213
- AssemblyAttrs = topAttrs.assemblyAttrs
214
- DeclaredImpls = declaredImpls
215
- }
214
+ let tcInfo =
215
+ {
216
+ MainMethodAttrs = topAttrs.mainMethodAttrs
217
+ NetModuleAttrs = topAttrs.netModuleAttrs
218
+ AssemblyAttrs = topAttrs.assemblyAttrs
219
+ DeclaredImpls = declaredImpls
220
+ }
216
221
217
222
// will need to pass results further somewhere
218
- let _typecheckingDataResources = EncodeTypecheckingData(
219
- tcConfig,
220
- tcGlobals,
221
- tcState.Ccu,
222
- outfile,
223
- false,
224
- tcInfo)
223
+ let _typecheckingDataResources =
224
+ EncodeTypecheckingData(tcConfig, tcGlobals, tcState.Ccu, outfile, false, tcInfo)
225
225
226
226
()
227
227
0 commit comments