Adding a generic value prevents printing

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
tooling

Research direction

Start by reproducing the issue with the provided script, first with the generic List declarations commented out and then uncommented. Trace the REPL's script execution and printing path to determine why the generic declarations suppress all output; done means the script prints both messages in either form.

Written by the indexing model from the issue text.

Description

If you set a value to be a generic type, the script no longer prints.

printfn "Hello world"

let test = 0

// prevents printing
//let mutable test2 : List<int> = []

// prevents printing
//let test3 : List<int> = []

let test4 : int = 0

printfn "script complete"

The above will print, but uncommenting the lines mentioned will stop the script from printing any output.

Dominant language
F#
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.