mirror of https://github.com/buggins/dlangide.git
fix deprecations
This commit is contained in:
parent
287c7cdb67
commit
582feeac53
|
@ -219,6 +219,7 @@ private string demangle(string mangled_name) {
|
||||||
string demangled_name; // = dlangide.tools.d.demangle.demangle(mangled_name);
|
string demangled_name; // = dlangide.tools.d.demangle.demangle(mangled_name);
|
||||||
//if (demangled_name[0] == '_') { // in the unlikely event that we fail to demangle, fall back to the phobos demangler
|
//if (demangled_name[0] == '_') { // in the unlikely event that we fail to demangle, fall back to the phobos demangler
|
||||||
try {
|
try {
|
||||||
|
static import core.demangle;
|
||||||
if (demangleBuffer.length < mangled_name.length + 16384)
|
if (demangleBuffer.length < mangled_name.length + 16384)
|
||||||
demangleBuffer.length = mangled_name.length * 2 + 16384;
|
demangleBuffer.length = mangled_name.length * 2 + 16384;
|
||||||
demangled_name = cast(string)core.demangle.demangle(mangled_name, demangleBuffer[]);
|
demangled_name = cast(string)core.demangle.demangle(mangled_name, demangleBuffer[]);
|
||||||
|
|
|
@ -87,6 +87,7 @@ class TraceFuncionGrid : StringGridWidgetBase {
|
||||||
|
|
||||||
/// get cell text
|
/// get cell text
|
||||||
override dstring cellText(int col, int row) {
|
override dstring cellText(int col, int row) {
|
||||||
|
import std.conv : to;
|
||||||
if (row < 0 || row >= _list.length)
|
if (row < 0 || row >= _list.length)
|
||||||
return ""d;
|
return ""d;
|
||||||
FunctionNode entry = _list[row];
|
FunctionNode entry = _list[row];
|
||||||
|
|
|
@ -62,6 +62,7 @@ StringListValue[] createIntValueList(int[] values, dstring suffix = ""d) {
|
||||||
|
|
||||||
/// create DlangIDE settings pages tree
|
/// create DlangIDE settings pages tree
|
||||||
SettingsPage createSettingsPages() {
|
SettingsPage createSettingsPages() {
|
||||||
|
import std.conv : to;
|
||||||
// Root page
|
// Root page
|
||||||
SettingsPage res = new SettingsPage("", UIString.fromRaw(""d));
|
SettingsPage res = new SettingsPage("", UIString.fromRaw(""d));
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
v0.8.9
|
v0.8.10
|
Loading…
Reference in New Issue