Skip to content

Commit 918a6e0

Browse files
committed
Merge branch 'master' of https://github.com/fsharp/FSharp.Compiler.Service into fix-414
2 parents 55dcf8b + ce66d50 commit 918a6e0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#### 2.0.0.1-beta
2+
* Fix 452 - FSharpField.IsMutable = true for BCL enum cases
3+
* Include fix from 1.4.2.2 for #488 - Performance problems with project references
4+
15
#### 2.0.0.0-beta
26
* Feature #470, #478, #479 - Move ProjectCracker to separate nuget package and DLL, used ProjectCrackerTool.exe to run
37
* Feature #463 - Expose slot signatures of members in object expressions

src/fsharp/vs/Symbols.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ and FSharpField(cenv, d: FSharpFieldData) =
656656
if isUnresolved() then false else
657657
match d.TryRecdField with
658658
| Choice1Of2 r -> r.IsMutable
659-
| Choice2Of2 f -> not f.IsInitOnly
659+
| Choice2Of2 f -> not f.IsInitOnly && f.LiteralValue.IsNone
660660

661661
member __.IsLiteral =
662662
if isUnresolved() then false else

0 commit comments

Comments
 (0)