You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode Version: 1.10.2
OS Version: Ubuntu 16.04
Ionide: 2.23.9
Steps to Reproduce:
1.create new F# project
2. On the main file paste
let sub (a, b) = a - b
let add a b =
a + b
3. place a breakpoint debug on the first line of the main and hit start debugging
4. enter (add 2 3) on debug console to be executed on the context which returns
error CS1026: ) expected
Interestingly when the parameter is constrained by a tuple like on sub it works:
sub (3, 2)
1
Also tested the add function on fsharpi from mono and it worked there.
Geraldo Lopes de Souza
The text was updated successfully, but these errors were encountered:
@geraldodev the debugger doesnt support evaluation of f# expressions (ref dotnet/fsharp#2544 for more info).
Atm debugger always try to eval these as c# expressions, that's why sub(3,2) works, is valid c# syntax
Steps to Reproduce:
1.create new F# project
2. On the main file paste
let sub (a, b) = a - b
let add a b =
a + b
3. place a breakpoint debug on the first line of the main and hit start debugging
4. enter (add 2 3) on debug console to be executed on the context which returns
error CS1026: ) expected
Interestingly when the parameter is constrained by a tuple like on sub it works:
sub (3, 2)
1
Also tested the add function on fsharpi from mono and it worked there.
Geraldo Lopes de Souza
The text was updated successfully, but these errors were encountered: