getNotes
Function parameters
Parameters
The data stored at byte offset 0 when ZOIR is stored in a file.
Types
- Header
- The data stored at byte offset 0 when ZOIR is stored in a file.
Functions in this namespace
Functions
Source
Implementation
pub fn getNotes(err: CompileError, zoir: Zoir) []const Note {
return zoir.error_notes[err.first_note..][0..err.note_count];
}