Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/FsAutoComplete.IntegrationTests/SymbolUse/Script.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module console

[<EntryPoint>]
let main argv =
System.IO.Directory
console.undefinedsymbol 3

0 // return an integer exit code
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ p.symboluse "Program.fs" " let testval = 123" 14 12 //testval shadowed
p.symboluse "Program.fs" "let shadowed = " 12 4 //miss
p.symboluse "Program.fs" "let shadowed = " 12 5 //shadowed start
p.symboluse "Program.fs" "let shadowed = " 12 13 //shadowed end
p.symboluse "Script.fsx" " System.IO.Directory" 6 18 // no uses due to compile error
p.symboluse "Script.fsx" " console.undefinedsymbol 3" 6 17 // no uses due to compile error

Threading.Thread.Sleep(1000)
p.send "quit\n"
Expand Down
13 changes: 5 additions & 8 deletions test/FsAutoComplete.IntegrationTests/SymbolUse/output.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"FileName": "<absolute path removed>/FsAutoComplete.IntegrationTests/SymbolUse/Script.fsx",
"StartLine": 6,
"EndLine": 6,
"StartColumn": 15,
"EndColumn": 24,
"StartColumn": 5,
"EndColumn": 12,
"Severity": "Error",
"Message": "The value, constructor, namespace or type 'Directory' is not defined",
"Message": "The namespace or module 'console' is not defined",
"Subcategory": "typecheck"
}
]
Expand Down Expand Up @@ -181,9 +181,6 @@
}
}
{
"Kind": "symboluse",
"Data": {
"Name": "Directory",
"Uses": []
}
"Kind": "info",
"Data": "No symbol information found"
}