vlang / ui

A cross-platform UI library written in V
MIT License
2.31k stars 154 forks source link

[checker/compiler] Dupilcate consts when default and plattform specific file #539

Closed sandbankdisperser closed 11 months ago

sandbankdisperser commented 11 months ago

V version: V 0.4.0 367e38d UI version: a4be752 OS: Linux/Fedora What did you do? Defining consts in os specific files: tool_settings_paths_android tool_settings_paths_windows tool_settings_paths_darwin and a default file: tool_settings_paths_default

What did you expect to see? Sucessfull compiling

What did you see instead? A Dupilcate consts defined error and no sucesfull compile.

IMHO the problem is that the compiler doesn't filter out the default file if a plattform specific file is being built.

Edit: wrong projected, wanted to open in vlang/v, closing