Fix #218 and update version to 0.7.5
This commit is contained in:
parent
af9233d2ea
commit
3f5a1eaebf
|
@ -21,7 +21,7 @@ module common.dcd_version;
|
||||||
/**
|
/**
|
||||||
* Human-readable version number
|
* Human-readable version number
|
||||||
*/
|
*/
|
||||||
enum DCD_VERSION = "v0.7.4";
|
enum DCD_VERSION = "v0.7.5";
|
||||||
|
|
||||||
version (Windows) {}
|
version (Windows) {}
|
||||||
else version (built_with_dub) {}
|
else version (built_with_dub) {}
|
||||||
|
|
|
@ -751,6 +751,8 @@ DSymbol*[] getSymbolsByTokenChain(T)(Scope* completionScope,
|
||||||
// returns void.
|
// returns void.
|
||||||
void filterProperties() @nogc @safe
|
void filterProperties() @nogc @safe
|
||||||
{
|
{
|
||||||
|
if (symbols.length == 0)
|
||||||
|
return;
|
||||||
if (symbols[0].kind == CompletionKind.functionName
|
if (symbols[0].kind == CompletionKind.functionName
|
||||||
|| symbols[0].qualifier == SymbolQualifier.func)
|
|| symbols[0].qualifier == SymbolQualifier.func)
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
struct Issue281 {}
|
||||||
|
|
||||||
|
unittest
|
||||||
|
{
|
||||||
|
Issue281 i;
|
||||||
|
i.abcde(
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
../../bin/dcd-client file.d -c53 > actual1.txt
|
||||||
|
diff actual1.txt expected1.txt
|
Loading…
Reference in New Issue