core icon indicating copy to clipboard operation
core copied to clipboard

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)

Results 101 core issues
Sort by recently updated
recently updated
newest added

I entered the following code at run.dlang.io: ```D alias UnsignedStringBuf = char[20]; char[] unsignedToTempString()(ulong value, return scope char[] buf, uint radix = 10) @safe { if (radix < 2) //...

Some compiler options don't work with "all dmd compilers", e.g. `-betterC` or `-boundscheck=off`, they result in `std.conv.ConvException@/home/travis/dlang/dmd-2.084.0/linux/bin64/../../src/phobos/std/conv.d(2110): Can't parse string: bool should be case-insensitive 'true' or 'false' `

https://tour.dlang.org/tour/en/gems/unicode The https certificate is not longer valid, can anyone contact Jack Stouffer? https://jackstouffer.com/blog/d_auto_decoding_and_you.html His contact page mail link is broken, too...

1. Clicking "Run" no longer copies the code to the address bar (at least, I think it used to do that?) 2. Typing in a program and clicking "Shorten" has...

Moved from https://issues.dlang.org/show_bug.cgi?id=18458 Actually anything (including) '\x80' will cause a server error. import std.stdio : writeln; void main() { writeln('\x80'); }

![image](https://cloud.githubusercontent.com/assets/4370550/16332530/b4673f96-39f6-11e6-80a7-2255a52c785b.png) http://tour.dlang.io/tour/en/multithreading/thread-local-storage It's pretty weird because on the CodeMirror on the right underscores are correctly displayed and also the rendered HTML is correct too: ![image](https://cloud.githubusercontent.com/assets/4370550/16332544/e6a4c97e-39f6-11e6-8f25-a592845fea6f.png) @stonemaster are you also experiencing...

bug

Menu items in DLang Tour should allow simple markup like *\*asterisks\** and/or _\_underscores\__ to emphasize some untranslated elements. For example, in the Spanish version of the tour, the menu item...

The cache for DMD nightly should probably not be so long because it can lead to problems, see e.g. https://issues.dlang.org/show_bug.cgi?id=18513

Example: https://run.dlang.io/?compiler=dmd-nightly&source=%2F%2Bdub.sdl:%0Adependency%20%22libdparse%22%20version%3D%22~%3E0.7%22%0A%2B%2F%0Aimport%20dparse.ast;%0Aimport%20std.stdio,%20std.range;%0A%0Aclass%20TestVisitor%20:%20ASTVisitor%0A%7B%0A%20%20%20%20alias%20visit%20%3D%20ASTVisitor.visit;%0A%20%20%20%20int%20indentLevel;%0A%20%20%20%20%0A%20%20%20%20override%20void%20visit(const%20FunctionDeclaration%20decl)%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20writeln(%27%20%27.repeat(indentLevel%20*%204),%20decl.name.text);%0A%20%20%20%20%20%20%20%20indentLevel%2B%2B;%0A%20%20%20%20%20%20%20%20scope%20(exit)%20indentLevel--;%0A%20%20%20%20%20%20%20%20decl.accept(this);%0A%20%20%20%20%7D%0A%7D%0A%0Avoid%20main()%0A%7B%0A%20%20%20%20import%20dparse.lexer;%0A%20%20%20%20import%20dparse.parser%20:%20parseModule;%0A%20%20%20%20import%20dparse.rollback_allocator%20:%20RollbackAllocator;%0A%20%20%20%20import%20std.string%20:%20representation;%0A%0A%20%20%20%20auto%20sourceCode%20%3D%20q%7B%0A%20%20%20%20%20%20%20%20void%20foo()%20@safe%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20void%20bar();%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D.dup;%0A%20%20%20%20LexerConfig%20config;%0A%20%20%20%20auto%20cache%20%3D%20StringCache(StringCache.defaultBucketCount);%0A%20%20%20%20auto%20tokens%20%3D%20getTokensForParser(sourceCode.representation,%20config,%20%26cache);%0A%0A%20%20%20%20RollbackAllocator%20rba;%0A%20%20%20%20auto%20m%20%3D%20parseModule(tokens,%20%22test.d%22,%20%26rba);%0A%20%20%20%20auto%20visitor%20%3D%20new%20TestVisitor();%0A%20%20%20%20visitor.visit(m);%0A%7D

This is not really an issue, but I want to express a **big thank YOU!** I think the Dlang-Tour has evolved to a very cool tutorial! You should promote your...