fable-compiler / Fable

F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
http://fable.io/
MIT License
2.93k stars 301 forks source link

remove extraneous dollar sign in py format string #3878

Closed joprice closed 2 months ago

joprice commented 3 months ago

Calling Assert.AreEqual(1, 2) results in an exception like Exception: Expected: $2 - Actual: $1, where an extra $ appears before the value. Similarly, when calling System.Enum.Parse, an extra dollar sign prefixes the type name.