Skip to content

#import "file" without list of names should err/warn #97

@kornelski

Description

@kornelski

Import with a file path, but without a list of names, "fails" silently:

#import "common.wgsl"

This syntax is very similar to C's #include that just imports everything, so I did not think of specifying individual type names, and was puzzled why this directive doesn't seem to do anything, and doesn't even cause a compilation error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions