Skip to content

Commit 43b253d

Browse files
committed
fix test for fsharp/fsharp edition
1 parent a33a87d commit 43b253d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/fsharp/core/quotes/test.fsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,13 +533,16 @@ module TypedTest = begin
533533
| _ -> false
534534
end
535535

536+
#if Portable
537+
#else
536538
test "check accesses to readonly fields in ReflectedDefinitions"
537539
begin
538540
let c1 = Class1("a")
539541
match <@ c1.myReadonlyField @> with
540542
| FieldGet(Some (ValueWithName (_, v, "c1")), field) -> (v.Name = "Class1") && (field.Name = "myReadonlyField")
541543
| _ -> false
542544
end
545+
#endif
543546

544547
end
545548

0 commit comments

Comments
 (0)