fsbolero / TryFSharpOnWasm

F# Compiler running in WebAssembly with Bolero
Apache License 2.0
38 stars 4 forks source link

Code produces no output in Firefox but does in Chrome #2

Closed amieres closed 5 years ago

amieres commented 5 years ago

The following code:

printfn "Hello!"
let rec listdir dir = 
    printfn "Dir: %s" dir
    for subdir in System.IO.Directory.EnumerateDirectories dir do
        printfn "SubDir: %s" subdir
    for file in System.IO.Directory.GetFiles(dir, "*") do
        printfn "File: %s" file
    for subdir in System.IO.Directory.EnumerateDirectories dir do
        listdir subdir

listdir "/"

runs ok in Chrome but it produces no program output in FireFox or Edge.

EDIT:

Upon further check I found out that the output is produced but the pane does not show.

Tarmil commented 5 years ago

Right, there's a layout problem if the output is too large which hides the output panel. I'm looking into it.