-
Notifications
You must be signed in to change notification settings - Fork 160
Closed
Description
It looks like changes for fsi script debugging in .net6.0 (dotnet/fsharp#12722) are causing multi-emit warnings in v15 versions of fsdocs-tool.
To reproduce, I create a blank docs folder and add index.fsx with this:
type Test = { A: int; B: string }
let list = [{ A = 1; B = "a" }; { A = 2; B = "b" }; { A = 3; B = "c" }]
[ for x in list do x.A ]
(***include-fsi-output***)
[ for x in list do x ]
(***include-fsi-output***)
[ for x in list do x.A ]
(***include-fsi-output***)When I run dotnet fsdocs watch --eval I get this below. Note the warning in the last snippet, with full text
input.fsx (1,1)-(1,25) interactive warning Accessing the internal type, method or field 'A@' from a previous evaluation in F# Interactive is deprecated and may cause subsequent access errors. To enable the legacy generation of a single dynamic assembly that can access internals, use the '--multiemit-' option."
Tools info
{
"version": 1,
"isRoot": true,
"tools": {
"fsdocs-tool": {
"version": "15.0.0",
"commands": [
"fsdocs"
]
}
}
}Metadata
Metadata
Assignees
Labels
No labels
