Fable
Fable copied to clipboard
F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
### Description When an inline value references a private value, the generated inlined code attempts to import the private value, which is not exported, causing an import error. ### Repro...
### Description Code that uses Map.tryFind compiles fine to Python, but I'm getting `'
This adds the missing unicode categories to fix the error `ValueError: Fable error, unknown Unicode category: Ps` when calling for example, `Char.IsLetterOrDigit` with left paren '('. I used the values...
### Description When using the python backend and making use of an anonymous record, the accessors use snake case, while the construction code has camel cased fields, resulting in a...
### Description When comparing two references to a nullary union case for physical equality, they are considered identical in fsc, but distinct in fable. Checking the generated code, this seems...
### Description Async does not generate correct type signature. ### Repro code [REPL](https://fable.io/repl/#?code=PYBwpgdgBAygngZwC5gLYDoAqALATmAQwBMBLCAcywIQGsEAoegGzCSiOAEEE4IBjKAF4o9KGKjVeAgN6jx8-EgCuuaACJsJNXLEBfIA&html=DwQgJg9gxgLgngBwKYAIAWMC2AbAfAKGAxwMLSQEMwCUVgYBLGbJXAUQA8olsUBmAGwBWFAwB2KChLQQArgCdgAekbNW+WsExIYFdDBgIAtEgCOshgDcAvAHIAwhDEwkzowBVESWyihOXznYuHDBKxNgA3L5oFPIAzjrWsjAAZkYAHLY0dNq6KGIU2tYARJYMSADuCBDyMMW+-q4wJRUMYDBo1mBIZdxGre1oADSiYkwMFNhGcVCTSNYAjMXZwDPyDAgwKHHyUCUYhnEAXEpKUGBiAHQAVnHd2Fbyl2I6SmIImEpltbKTRpCYAACACZLgswUowAw4qFvjBflMATc4vUoPIIHE4jUGABzcS4ZRrDYwFYwuAsbK0ABGEDAcBQAG8NLQWQgqFCxDijighAAGBAcCLMlkoFL+IwpQoMbBwblxKRxaZIdYpIUigC++GFKF0VJYjO11Jq3Xk0zZUHEXJQ-MFhpQNPkJqMNIMEEw3IWAu2EAeYBQAGIkLyg0G1SL7cblUZ1jiMB6vVjfQGQ8HeWHaJrtTAwEMs2gDeGUAMOty+QL0yyHU6WCkYPGON6k4HU6G7VWozAIAh6422smW2m7WywByrUJy3aIJZlSlsBAKty0G1umIK7RgjAjFOZ3OFygeA8EHFoRXMyLs5cEixYEg-UzC8PR9ybaetee-eIEMkC+Hi2hubM2BQAAFAsvK8gApCgRg8gKACUa7oEguJxigwLAhOhaYLEeJiM+mEspqmhKGSFKEGElDUFqwA0nSKxQpYohgCU2HiMsygMQQyi0XApDKOEBBAA&css=Q) ### Expected and actual results It should have some type signature like `export const doAsync: Async` instead...
### Description When compiling to TypeScript, interfaces will get compiled as well instead of erased. However, when the Mangle attribute is set, the interfaces will not get mangled, but the...
### Description Fable imports allows to use `${outDir}` macro, in order to make the import path be adapted to reference independently from where we consume the imported code. However, it...
### Description I was looking into optimising the output of [Oxpecker.Solid](https://github.com/Lanayx/Oxpecker/tree/develop/src/Oxpecker.Solid) because it contains a lot of noise not used by the library (it is using Fable.CompilerPlugin to rewrite some...
### Description When a record is augmented with an `static member` or a `static let`, extra constructor parameters are generated for each, but the constructor call does not provide these...