Fable icon indicating copy to clipboard operation
Fable copied to clipboard

F# to JavaScript, TypeScript, Python, Rust and Dart Compiler

Results 285 Fable issues
Sort by recently updated
recently updated
newest added

### Description Creating a top-level binding to a `Global` value with the same name causes a reference error ``` Uncaught ReferenceError: Cannot access 'self' before initialization ``` ### Repro code...

### Description Hello, I have a project that uses Fable and depends on [Fulma](https://github.com/Fulma/Fulma) for UI rendering. After I upgraded my Fable version to 4.22.0, my builds started to fail...

### Description When using STRP in a style as is used in FSharPlus, where members can be looked up from a typeclass definition or an specific type, some inlined functions...

### Description `importValueDynamic` fails at either runtime or compile time for functions with more than a single argument. ### Repro code I reproduced in a separate repository, since it requires...

### Description Using `lookbehind` patterns in `regex` fails for `python`. ### Repro code ```fsharp open System.Text.RegularExpressions let positiveLookbehind = """(?

Casting a .NET `Dictionary` to an `ICollection` emits `.push` for `.Add`, but a JS Map has no `.push` member. ```fsharp open System.Collections.Generic let dic = Dictionary() let coll = dic...

This generates invalid typescript: ```fsharp open System.Collections.Generic type Table

### Description When `use`ing an `IDisposable` at the top-level, the generated code contains a `return` statement, which is not valid outside of the context of a function definition. ### Repro...

bug
python

### Description ```fs open Fable.Core.JsInterop type ToastrOptions = abstract Thing : string [] module Toastr = let mutable private theOptions: ToastrOptions = //() import "options" "toastr" ``` ```js import {...

bug
javascript

### Description When a DateTime gets implicitly converted to a DateTimeOffset, the import `op_Implicit` is missing in the js library: `SyntaxError: The requested module 'https://fable.io/repl/js/repl/fable-library-js/DateOffset.js' does not provide an export...