Dante Mendoza

Results 4 comments of Dante Mendoza

I thought it should compile because (for some reason) this haves the same workaround as #15230 🤔 > **Current workaround** Extracting the string returned by `$tmpl(...)` into a separate variable...

I don't know if this [passing arrays to methods at compile-time this way] is a feature or a bug but it's really cool. It doesn't work at all with float...

Additional output with **`v -cg -prod vweb_ex.v`**: ```c failcompile /tmp/v_1000/vweb_ex.7651033178685271020.tmp.c: In function ‘vweb__handle_conn_T_main__App’: /tmp/v_1000/vweb_ex.7651033178685271020.tmp.c:29969:48: error: incompatible type for argument 2 of ‘main__App_sum’ 29969 | main__App_sum(app, ((string*)args.data) [0] , ((string*)args.data) [1]...

`vfmt` modifies the code resulting in the same error shown above. ```v // vfmt output: struct Dummy {} ['option: '1''] fn (d Dummy) sample_method() { // ... } fn main()...