question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(dev2.0) Cannot type test any exception

See original GitHub issue
module App

let length xs =
    try xs |> Array.length
    with :? System.NullReferenceException -> 0

[<EntryPoint>]
let main argv =
    length [| 1; 2; 3 |]

error FABLE: Cannot type test: System.NullReferenceException

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ncavecommented, Jun 19, 2018

Closing as fixed.

1reaction
ncavecommented, Jun 15, 2018

@alfonsogarciacaro No, I don’t see any errors related to interface casting in the repl, I’ll open an issue with the outstanding errors (not that many).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to start UI Test on ios simulator · Issue #274
I have a Xamarin UI test project with tests apps on iOS and Android simulators. Recently I had to update xCode (to 10.2)...
Read more >
Can not select value in a combo box in coded UI test using ...
I am using coded UI test builder to create a script for my application testing. When I run the test, it gives me...
Read more >
Error handling within a workflow - Microsoft Q&A
I have got a Ps script which loops a list of servers, however the error handling is not behaving the way I would...
Read more >
Resolved issues
1849757: The "Length cannot be less than zero" error on job creation was not meaningful, as it did not state the expression that...
Read more >
CHANGES — cliff 2.4.2.dev2 documentation
2.4.1¶. Fix codec error when format=csv; Fix PEP8 in gate; Updated from global requirements; Fix broken tests due to API changes in cmd2>=0.7.3 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found