Skip to main content

resolve_single_file

Function resolve_single_file 

Source
pub fn resolve_single_file(commons: &mut Commons)
Expand description

The single-file form of resolve_annotation_consts, for a commons checked on its own (bynk check file.bynk, the playground, the editor’s single-file mode): no uses, so only the file’s own constants are in scope. It runs the same pass over a one-unit project, so the rules cannot differ.