2 // EXTRA_FILES: imports/spell9644a.d imports/spell9644b.d
6 fail_compilation/spell9644.d(26): Error: undefined identifier `b`
7 fail_compilation/spell9644.d(27): Error: undefined identifier `xx`
8 fail_compilation/spell9644.d(28): Error: undefined identifier `cb`, did you mean variable `ab`?
9 fail_compilation/spell9644.d(29): Error: undefined identifier `bc`, did you mean variable `abc`?
10 fail_compilation/spell9644.d(30): Error: undefined identifier `ccc`
11 fail_compilation/spell9644.d(32): Error: undefined identifier `cor2`, did you mean variable `cor1`?
12 fail_compilation/spell9644.d(33): Error: undefined identifier `pua`, did you mean variable `pub`?
13 fail_compilation/spell9644.d(34): Error: undefined identifier `priw`
17 import imports
.spell9644a
;
26 cast(void)b
; // max distance 0, no match
27 cast(void)xx
; // max distance 1, no match
28 cast(void)cb
; // max distance 1, match
29 cast(void)bc
; // max distance 1, match
30 cast(void)ccc
; // max distance 2, match
32 cast(void)cor2
; // max distance 1, match "cor1", but not cora from import (bug 13736)
33 cast(void)pua
; // max distance 1, match "pub" from import
34 cast(void)priw
; // max distance 1, match "priv" from import, but do not report (bug 5839)