Function getNotes [src]

Prototype

pub fn getNotes(err: CompileError, zoir: Zoir) []const Note

Parameters

err: CompileErrorzoir: Zoir

Source

pub fn getNotes(err: CompileError, zoir: Zoir) []const Note { return zoir.error_notes[err.first_note..][0..err.note_count]; }