aboutsummaryrefslogtreecommitdiff
path: root/doc/langref/redundant_fqn.zig
blob: 3a86fee202509cd5d7bddacd5e60ebacb28915cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const std = @import("std");

pub const json = struct {
    pub const JsonValue = union(enum) {
        number: f64,
        boolean: bool,
        // ...
    };
};

pub fn main() void {
    std.debug.print("{s}\n", .{@typeName(json.JsonValue)});
}

// exe=succeed