Skip to content
Snippets Groups Projects
Commit 2f185479 authored by Sandra Dylus's avatar Sandra Dylus
Browse files

Fix bug in context with type classes and floating values

All float and int values in a program are stored in the value environment with a name starting with "_". Due to a missing pattern in `renameLiteral` ( src/Checks/SyntaxCheck) the initial name "_" was never extended with a random identifier. That is, all float values were named "_" and could not be identified as temporary values and, thus, were exported in the interface file. A function named "_" in the interface files caused a runtime error ("Unexpected token").
parent c01f3439
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment