You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/dfmt/globmatch_editorconfig.d(14,6): Error: `dfmt.globmatch_editorconfig.globMatchEditorConfig!(CaseSensitive.yes, wchar, ByCodeUnitImpl).globMatchEditorConfig`: `in` contract may throw but function is marked as `nothrow`
src/dfmt/globmatch_editorconfig.d(40,40): Error: template instance `dfmt.globmatch_editorconfig.globMatchEditorConfig!(CaseSensitive.yes, wchar, ByCodeUnitImpl)` error instantiating
src/dfmt/globmatch_editorconfig.d(187,33): instantiated from here: `globMatchEditorConfig!(CaseSensitive.yes, wchar, wstring)`
src/dfmt/globmatch_editorconfig.d(14,6): Error: `dfmt.globmatch_editorconfig.globMatchEditorConfig!(CaseSensitive.yes, wchar, wstring).globMatchEditorConfig`: `in` contract may throw but function is marked as `nothrow`
code :
boolglobMatchEditorConfig(CaseSensitive cs = CaseSensitive.osDefault, C, Range)(
Range path, const(C)[] pattern) @safepurenothrowif (isForwardRange!Range&& isSomeChar!(ElementEncodingType!Range)
&& isSomeChar!C &&is(Unqual!C == Unqual!(ElementEncodingType!Range)))
in
{
// Verify that pattern[] is validimportstd.algorithm : balancedParens;
assert(balancedParens(pattern, '[', ']', 0));
assert(balancedParens(pattern, '{', '}', 0));
}
The text was updated successfully, but these errors were encountered:
See dlang/dmd#16801
code :
The text was updated successfully, but these errors were encountered: