xiao80

Results 5 comments of xiao80

@ehaas @silversquirl here is the problem: _ = std.c.printf("format", .{"abc"}); or _ = std.c.printf("format", &.{"abc"}); this simple code will make compiler fails without any hints. _ = std.c.printf("format", @constCast(&.{"abc"})); //...

> @ehaas @silversquirl here is the problem: > > _ = std.c.printf("format", .{"abc"}); or _ = std.c.printf("format", &.{"abc"}); this simple code will make compiler fails without any hints. > >...

> The examples above trigger an assertion in handling `validate_array_init_[ref_]ty` due to missing handling for `var_args_param_type`. That should be simple to fix. That said: @andrewrk, is there any reason `var_args_param_type`...

终端模式下, which-key-posframe启用的时候,which-key 被激活后如下图所示: ![Screenshot at 2021-10-08 12:49:50](https://user-images.githubusercontent.com/4889784/136503616-5fc6539d-be4e-4909-b49c-994d1eaebd57.png) which-key-posframe禁用的时候,which-key 被激活后如下图所示: ![Screenshot at 2021-10-08 12:48:26](https://user-images.githubusercontent.com/4889784/136503759-d21af6ac-bd02-458f-9617-f813abae818b.png) 可以看出,终端模式下which-key-posframe启用的时候,which-key 似乎是被激活了,但是并没有展示出 which-key 的内容

> Cannot reproduce on `0.14.0-dev.302+d404d8a36`: > > ``` > a.zig:19:15: error: expected type 'fn (c_uint) ?*cimport.struct_passwd', found 'fn (c_uint) callconv(.C) [*c]cimport.struct_passwd' > callback(c.getpwuid); > ~^~~~~~~~~ > a.zig:19:15: note: calling convention...