add with_file methods to Label and Diagnostic as suggested in the original comment in the issue
add new constructors to Label: new_anon, primary_anon and secondary_anon
These work like their similarly named cousins, but without requiring a file id.
There is probably a better name for the new Label constructors, I could only come up with adding _anon to the end of the existing ones, although these longer names don't quite fit the theme of making things easier IMHO. Maybe @aweary has a better idea?
Resolves #229.
with_file
methods toLabel
andDiagnostic
as suggested in the original comment in the issuenew_anon
,primary_anon
andsecondary_anon
These work like their similarly named cousins, but without requiring a file id.There is probably a better name for the new
Label
constructors, I could only come up with adding_anon
to the end of the existing ones, although these longer names don't quite fit the theme of making things easier IMHO. Maybe @aweary has a better idea?