Skip to content

Commit c9f9eb2

Browse files
T-GroCopilot
andcommitted
Fix CI: apply fantomas formatting to IlxGen.fs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 254f0a8 commit c9f9eb2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Compiler/CodeGen/IlxGen.fs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10227,7 +10227,11 @@ and GenAttribArg amap g eenv x (ilArgTy: ILType) =
1022710227
// Validate element type is encodable in custom attribute metadata (ECMA 335).
1022810228
// Only primitive types, enums, string, System.Type, and System.Object are valid.
1022910229
match ilElemTy with
10230-
| ILType.Boxed tspec when tspec.Name <> "System.String" && tspec.Name <> "System.Object" && tspec.Name <> "System.Type" ->
10230+
| ILType.Boxed tspec when
10231+
tspec.Name <> "System.String"
10232+
&& tspec.Name <> "System.Object"
10233+
&& tspec.Name <> "System.Type"
10234+
->
1023110235
error (Error(FSComp.SR.ilCustomAttrInvalidArrayElemType (tspec.Name), m))
1023210236
| _ -> ()
1023310237

0 commit comments

Comments
 (0)