Skip to content

Commit 4490446

Browse files
committed
Fix
1 parent 9ba1269 commit 4490446

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

tests/fsharp/regression/4715/date.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#light
1+
22
[<RequireQualifiedAccess>]
33
module app.date
44

tests/fsharp/typeProviders/helloWorld/provider.fsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,10 +598,9 @@ type public Provider(config: TypeProviderConfig) =
598598
elif syntheticMethodBase.Name.StartsWith("HelloWorldInstanceMethodWithStaticDecimalParameter") then
599599
<@@ (%%(parameterExpressions.[1]) : decimal) @@>
600600
elif syntheticMethodBase.Name = "CallIntrinsics" then
601-
<@@ [ ((true & false) |> box);
601+
<@@ [
602602
((true && false) |> box);
603603
((true || false) |> box);
604-
((true or false) |> box);
605604
((compare true false) |> box);
606605
((true = false) |> box);
607606
((3 +? System.Nullable 4) |> box); // should be inlined by the compiler

vsintegration/tests/FSharp.Editor.Tests/SemanticClassificationServiceTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type SemanticClassificationServiceTests() =
7878
[<InlineData("(*7*)", ClassificationTypeNames.ClassName)>]
7979
member _.Measured_Types(marker: string, classificationType: string) =
8080
verifyClassificationAtEndOfMarker (
81-
"""#light (*Light*)
81+
"""
8282
open System
8383
8484
[<MeasureAnnotatedAbbreviation>] type (*1*)Guid<[<Measure>] 'm> = Guid

vsintegration/tests/FSharp.Editor.Tests/SyntacticColorizationServiceTests.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ type SyntacticClassificationServiceTests() =
987987
classificationType = classificationType
988988
)
989989

990-
/// FEATURE: Preprocessor keywords #light\#if\#else\#endif are colored with the PreprocessorKeyword color.
990+
/// FEATURE: Preprocessor keywords #if\#else\#endif are colored with the PreprocessorKeyword color.
991991
/// FEATURE: All code in the inactive side of #if\#else\#endif is colored with the InactiveCode color.
992992
[<Theory>]
993993
[<InlineData("(*Inactive*)", ClassificationTypeNames.ExcludedCode)>]
@@ -1052,7 +1052,7 @@ type SyntacticClassificationServiceTests() =
10521052
member public this.Preprocessor_DirectivesInString() =
10531053
this.VerifyColorizerAtStartOfMarker(
10541054
fileContents =
1055-
"#light
1055+
"
10561056
10571057
#if DEFINED
10581058
let s = \"
@@ -1073,7 +1073,7 @@ type SyntacticClassificationServiceTests() =
10731073
member public this.Preprocessor_KeywordsWithStrings(marker: string, classificationType: string) =
10741074
this.VerifyColorizerAtStartOfMarker(
10751075
fileContents =
1076-
"#light (*Light*)
1076+
"
10771077
let x1 = \"string1\"
10781078
#if UNDEFINED //(*If*)
10791079
let x2 = \"string2\"
@@ -1090,7 +1090,7 @@ type SyntacticClassificationServiceTests() =
10901090
member public this.Comment_VerbatimStringInComment_Bug1778() =
10911091
this.VerifyColorizerAtStartOfMarker(
10921092
fileContents =
1093-
"#light
1093+
"
10941094
(* @\"\\\" *) let a = 0",
10951095
marker = "le",
10961096
defines = [],

0 commit comments

Comments
 (0)