Skip to content

Incorrect renaming between varsym and varid #3403

Open
@aavogt

Description

@aavogt

With hls 1.8 from ghcup:

fun a b = a `fun` b
(&) a b = a `(&)` b   -- renamed fun to (&)
& a b = a `&` b       -- renamed fun to &
(&) a b = a & b -- desired output from either renaming

Going the other way also produces syntax errors:

(&) a b = a & b
(fun) a b = a fun b -- renamed & to fun
fun a b = a `fun` b -- desired output

Metadata

Metadata

Assignees

Labels

component: hls-rename-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions