Skip to content

Commit a65aae4

Browse files
dsymebaronfel
authored andcommitted
Cleanup semicolons, add documentation (#6316)
* cleanup semicolons (ugh) * fix build * a little more cleanup * little bit more cleanup * little bit more cleanup * little bit more documentation * little bit more docs * whitespace cleanup and docs * more whitespace and code formatting * little bit more docs * add diagnostics * add diagnostics * add diagnostics * diagnostics * diagnostics * diagnostics * add diagnostics and possible fix for tp smoke tests * fix build * fix build
1 parent 24b5c2c commit a65aae4

33 files changed

+2639
-2224
lines changed

src/absil/il.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ type ILTypeDefLayout =
19081908
| Explicit of ILTypeDefLayoutInfo (* REVIEW: add field info here *)
19091909

19101910
and ILTypeDefLayoutInfo =
1911-
{ Size: int32 option;
1911+
{ Size: int32 option
19121912
Pack: uint16 option }
19131913

19141914
[<RequireQualifiedAccess>]
@@ -2752,7 +2752,7 @@ let rescopeILTypeRef scoref (tref1:ILTypeRef) =
27522752
else ILTypeRef.Create(scoref2, tref1.Enclosing, tref1.Name)
27532753

27542754
// ORIGINAL IMPLEMENTATION (too many allocations
2755-
// { tspecTypeRef=rescopeILTypeRef scoref tref;
2755+
// { tspecTypeRef=rescopeILTypeRef scoref tref
27562756
// tspecInst=rescopeILTypes scoref tinst }
27572757
let rec rescopeILTypeSpec scoref (tspec1:ILTypeSpec) =
27582758
let tref1 = tspec1.TypeRef
@@ -3341,7 +3341,7 @@ let mkILDelegateMethods (access) (ilg: ILGlobals) (iltyp_AsyncCallback, iltyp_IA
33413341

33423342
let mkCtorMethSpecForDelegate (ilg: ILGlobals) (ty:ILType, useUIntPtr) =
33433343
let scoref = ty.TypeRef.Scope
3344-
mkILInstanceMethSpecInTy (ty, ".ctor", [rescopeILType scoref ilg.typ_Object;
3344+
mkILInstanceMethSpecInTy (ty, ".ctor", [rescopeILType scoref ilg.typ_Object
33453345
rescopeILType scoref (if useUIntPtr then ilg.typ_UIntPtr else ilg.typ_IntPtr)],
33463346
ILType.Void, emptyILGenericArgsList)
33473347

src/absil/ilascii.fs

Lines changed: 236 additions & 230 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)