getCompilationInfo method
What the browser thought of the WGSL.
A module compiles whether or not the code was valid, the same way a pipeline is created whether or not the descriptor was: the diagnostics arrive here and the failure arrives later as a pipeline that does not work. A backend loading a shader bundle wants the line and column, because the WGSL it is compiling was produced by a translator and nobody typed it.
Implementation
external JSPromise<GPUCompilationInfo> getCompilationInfo();