Skip to content

Broken on latest zig master #46

Description

@JohannesBeranek

As soon as I try to use IDC_ARROW it doesn't work anymore:

(omitted)\win32\zig.zig:234:10: error: no field named 'Int' in enum '@typeInfo(builtin.Type).@"union".tag_type.?'
        .Int => |target_type_info| {
        ~^~~
C:\dev\zig\zigup\zig\0.14.0-dev.2598+b4da8eef2\files\lib\std\builtin.zig:557:18: note: enum declared here
pub const Type = union(enum) {
                 ^~~~~
(omitted)\win32\zig.zig:226:23: note: called from here
    return typedConst2(T, T, value);
           ~~~~~~~~~~~^~~~~~~~~~~~~
(omitted)\win32\ui\windows_and_messaging.zig:669:55: note: called from here
pub const IDC_ARROW = @import("../zig.zig").typedConst([*:0]align(1) const u16, @as(i32, 32512));
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
    createWindow: src\windows\window.zig:19:106
    wWinMain: src\windows\main.zig:17:24
    wWinMain: src\windows\main.zig:14:5
    usingnamespace_0: src\main.zig:9:25
    root: C:\dev\zig\zigup\zig\0.14.0-dev.2598+b4da8eef2\files\lib\std\start.zig:3:22
    comptime: C:\dev\zig\zigup\zig\0.14.0-dev.2598+b4da8eef2\files\lib\std\start.zig:27:9
    start: C:\dev\zig\zigup\zig\0.14.0-dev.2598+b4da8eef2\files\lib\std\std.zig:96:27
    comptime: C:\dev\zig\zigup\zig\0.14.0-dev.2598+b4da8eef2\files\lib\std\std.zig:160:9

Judging by the error, probably a whole lot more is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions