Skip to content

Commit 3cefbba

Browse files
authored
Reattach comment (#8445)
1 parent 3b9f82b commit 3cefbba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fsharp/AttributeChecking.fs

+2-1
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,10 @@ let private CheckILAttributes (g: TcGlobals) isByrefLikeTyconRef cattrs m =
265265
| _ ->
266266
CompleteD
267267

268+
let langVersionPrefix = "--langversion:preview"
269+
268270
/// Check F# attributes for 'ObsoleteAttribute', 'CompilerMessageAttribute' and 'ExperimentalAttribute',
269271
/// returning errors and warnings as data
270-
let langVersionPrefix = "--langversion:preview"
271272
let CheckFSharpAttributes (g:TcGlobals) attribs m =
272273
let isExperimentalAttributeDisabled (s:string) =
273274
if g.compilingFslib then

0 commit comments

Comments
 (0)