André Luiz

Results 18 comments of André Luiz

> Instead of having a system that can break and go unnoticed with a simple typo, we could structure attributes to make them make more sense and be more robust,...

```v attribute My_attribute(string, int, f32) ``` well this could be abstracted to a struct, eg... ```v struct Foo { bar int [My_attribute("test", 1, 1.3)] baz string } ``` V would...

> yep I think making attribute a struct would be good: > > ```v > // in json.v > attribute SerialName { > name string > } > attribute Skip...

yes, but what about the builtiin attributes, will they remain as they are in a form of use reserved for them?

Today I needed to do this relationship and I had the same problem. print of the set of structs. ![image](https://github.com/vlang/v/assets/7676415/a3a618be-7e68-488e-8cc0-73eefbf50019) link for test: [play](https://vosca.dev/p/ee63b6d9ef)

It doesn't seem like a compilation error to me, but an internal error in V. (I could be very wrong). I recompiled V, with the following... `v -cc msvc -showcc...

> Is this still crashing for you on latest version? Before there was an error in cgen, but now it's partly ok! But it still doesn't work. [https://vosca.dev/p/075dd2aa4d](https://vosca.dev/p/075dd2aa4d) ``` Running...

I ran it here in wsl and it really worked for me. I believe it's only on windows

The error continues. TCC ``` Start 227463 file ok! Unhandled Exception 0xC0000005 Unhandled Exception 0xC0000005C :/Users/AndreLuiz/AppData/Local/Temp/v_0/http_error.3706575999369906727.tmp.c:11998: at print_backtrace_skipping_top_frames_tcc: Backtrace C:/Users/AndreLuiz/AppData/Local/Temp/v_0/http_error.3706575999369906727.tmp.c:11965: by print_backtrace_skipping_top_frames C:/Users/AndreLuiz/AppData/Local/Temp/v_0/http_error.3706575999369906727.tmp.c:11998: at print_backtrace_skipping_top_frames_tcc: Backtrace C:/Users/AndreLuiz/AppData/Local/Temp/v_0/http_error.3706575999369906727.tmp.c:12023: by unhandled_exception_handler C:/Users/AndreLuiz/AppData/Local/Temp/v_0/http_error.3706575999369906727.tmp.c:11965:...

What do you think is better, mark this as resolved and then open a new issue similar to this one, with this new report?