Most recently tested in WSL Ubuntu
OS: linux, Ubuntu 20.04.1 LTS (WSL)
Processor: 12 cpus, 64bit, little endian, Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
CC version: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
vroot: /home/lite/v
vexe: /home/lite/v/v
vexe mtime: 2020-11-27 17:05:15
is vroot writable: true
V full version: V 0.1.29 bbea7fb.1dfdc97
Git version: git version 2.25.1
Git vroot status: latest-commit-418-g1dfdc972
.git/config present: true
/var/tmp/tcc status: master 5e73982e
thirdparty/tcc: N/A
What did you do?
v fmt -w vyper.v
What did you expect to see?
Code to merely be formatted
What did you see instead?
in several places, anything ending in ui is renamed to ui; i.e termui or tui becomes ui
Note: It mainly seems to occur when the *ui appears in a declaration, as not all instances of *ui are replaced. the import works as expected as do occurrences with *ui being used as a field app.termui.set_color(red)
I have oberserved this behaviour as well. Thanks for reporting it!
Most helpful comment
I have oberserved this behaviour as well. Thanks for reporting it!