win-vind icon indicating copy to clipboard operation
win-vind copied to clipboard

[Bug] _Hard_to_read_parse_error

Open kbilsted opened this issue 7 months ago • 0 comments

About Bug

When writing simple letters within <> the parser error is really hard to comprehend.

Steps to reproduce

  1. the mapping in the config file
nmap <T> <Ctrl-Shift-A>

gives the error

[Error] invalid unordered_map<K, T> key (int __cdecl WinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int))
==========

here the problem is that <T> should have been T

Environments

Environments Delete the example and fill in your information.
Windows Edition [e.g. 10 Home, 10 Pro, 10 Enterprise, 11 Home]
Windows Version [e.g. 1909, 20H2]
Windows Build [e.g. 19042.804]
Architecture [e.g. 64bit/32bit]
win-vind Version [e.g. 4.0.0]
win-vind Install Type [zip/installer/chocolatey/winget]

kbilsted avatar Jul 10 '24 20:07 kbilsted