Fix #263
This commit is contained in:
parent
fe94f860a3
commit
2a5dd5f738
|
|
@ -501,7 +501,9 @@ body
|
|||
if (kind == ImportKind.normal)
|
||||
{
|
||||
|
||||
while (beforeTokens[i].type != tok!"," && beforeTokens[i].type != tok!"import") i--;
|
||||
while (beforeTokens[i].type != tok!"," && beforeTokens[i].type != tok!"import"
|
||||
&& beforeTokens[i].type != tok!"=" )
|
||||
i--;
|
||||
setImportCompletions(beforeTokens[i .. $], response, moduleCache);
|
||||
return response;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,65 @@
|
|||
identifiers
|
||||
algorithm M
|
||||
array M
|
||||
ascii M
|
||||
base64 M
|
||||
bigint M
|
||||
bitmanip M
|
||||
c P
|
||||
compiler M
|
||||
complex M
|
||||
concurrency M
|
||||
container M
|
||||
conv M
|
||||
cstream M
|
||||
csv M
|
||||
d P
|
||||
datetime M
|
||||
demangle M
|
||||
digest P
|
||||
encoding M
|
||||
exception M
|
||||
experimental P
|
||||
file M
|
||||
format M
|
||||
functional M
|
||||
getopt M
|
||||
internal P
|
||||
json M
|
||||
lexer M
|
||||
math M
|
||||
mathspecial M
|
||||
metastrings M
|
||||
mmfile M
|
||||
net P
|
||||
numeric M
|
||||
outbuffer M
|
||||
parallelism M
|
||||
path M
|
||||
process M
|
||||
random M
|
||||
range M
|
||||
regex M
|
||||
signals M
|
||||
socket M
|
||||
socketstream M
|
||||
stdint M
|
||||
stdio M
|
||||
stdiobase M
|
||||
stream M
|
||||
string M
|
||||
syserror M
|
||||
system M
|
||||
traits M
|
||||
typecons M
|
||||
typelist M
|
||||
typetuple M
|
||||
uni M
|
||||
uri M
|
||||
utf M
|
||||
uuid M
|
||||
variant M
|
||||
windows P
|
||||
xml M
|
||||
zip M
|
||||
zlib M
|
||||
|
|
@ -0,0 +1 @@
|
|||
import io = std.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
../../bin/dcd-client file.d -c16 > actual.txt
|
||||
diff actual.txt expected.txt
|
||||
Loading…
Reference in New Issue