[Issue 5807] Disallow mixed C/D style array declarations
https://issues.dlang.org/show_bug.cgi?id=5807 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4927] writefln silently ignores arguments not present in the format string
https://issues.dlang.org/show_bug.cgi?id=4927 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 5849] std.random.dice is better as a range
https://issues.dlang.org/show_bug.cgi?id=5849 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 5243] dmd -run potentially removes user files
https://issues.dlang.org/show_bug.cgi?id=5243 --- Comment #16 from Vladimir Panteleev --- (In reply to Ivan Kazmenko from comment #13) > erases both my p.exe and my p.obj. I certainly hope you're not complaining about the overwriting of the .obj file! The attached patch is unacceptable, because: 1. /tmp might be mounted with noexec 2. /tmp might not exist on some systems (e.g. Android) 3. It creates a file with a predictable name, which is a security problem 4. It creates the file with default permissions - if the program contains sensitive data, it could be snooped by another user (In reply to Leandro Lucarella from comment #12) > What it I have a script called `something` and I have a D > project that has a `something.d` module that gets compiled to `something.o`, > and I want to use my `something` script in that project? If my `something.o` > gets replaced by another `something.o` that has nothing to do with my > project, the results will be really really ugly and hard to know what really > happened. "Don't do that". Compilers will generally create object and executable files by replacing extensions on the main file. This applies to D, Rust, Go, Nim, probably others. Demanding that D conforms to your hypothetical convoluted project structure is out of line. I am going to leave this open because Go does something interesting which we could copy: if the output file exists but it's a script, it produces the error: --- go install command-line-arguments: build output "hello" already exists and is not an object file --- We could implement that in DMD, I guess. --
[Issue 5449] [profile] To disable profiling of a function/class/struct
https://issues.dlang.org/show_bug.cgi?id=5449 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5515] std.conv.to for safer enum casts
https://issues.dlang.org/show_bug.cgi?id=5515 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6133] Improvements to RedBlackTree
https://issues.dlang.org/show_bug.cgi?id=6133 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6122] OS X Mach-O: indirect symbol table offset is past end of file
https://issues.dlang.org/show_bug.cgi?id=6122 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5948] Different error messages for int array
https://issues.dlang.org/show_bug.cgi?id=5948 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5153] Struct pointer to struct variable assign error message
https://issues.dlang.org/show_bug.cgi?id=5153 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6138] Using dirEntries and chdir() can have unwanted results
https://issues.dlang.org/show_bug.cgi?id=6138 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5753] Disallow map() of void function
https://issues.dlang.org/show_bug.cgi?id=5753 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5243] dmd -run potentially removes user files
https://issues.dlang.org/show_bug.cgi?id=5243 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5236] [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
https://issues.dlang.org/show_bug.cgi?id=5236 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 5727] "ptr" in inline asm
https://issues.dlang.org/show_bug.cgi?id=5727 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems.
https://issues.dlang.org/show_bug.cgi?id=5813 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 6132] extern (C) Silently Ignored Within D Classes
https://issues.dlang.org/show_bug.cgi?id=6132 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #5 from Andrei Alexandrescu --- @Martin so is there anything to fix for this? --
[Issue 6033] Better error message with numbers with leading zeros
https://issues.dlang.org/show_bug.cgi?id=6033 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5646] add rationale for TLS being the default
https://issues.dlang.org/show_bug.cgi?id=5646 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6142] 32- and 64-bit libraries are combined without error
https://issues.dlang.org/show_bug.cgi?id=6142 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #2 from Andrei Alexandrescu --- Fixing this would be quite nice. --
[Issue 6179] scope should be removed from the documentation
https://issues.dlang.org/show_bug.cgi?id=6179 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |FIXED --- Comment #3 from Andrei Alexandrescu --- It's being used so I'll close this. --
[Issue 5644] The mangling of constructors is not documented by the ABI.
https://issues.dlang.org/show_bug.cgi?id=5644 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6151] [GC] Make the GC functions weakly pure
https://issues.dlang.org/show_bug.cgi?id=6151 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |FIXED --- Comment #3 from Andrei Alexandrescu --- We still have https://issues.dlang.org/show_bug.cgi?id=15862. But we can close this. --
[Issue 5971] Some BigInt ideas
https://issues.dlang.org/show_bug.cgi?id=5971 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5650] A RedBlackTree performance problem
https://issues.dlang.org/show_bug.cgi?id=5650 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5880] std.numerics.dotProduct for fixed-size arrays
https://issues.dlang.org/show_bug.cgi?id=5880 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6034] Handy mapping with n-adic functions
https://issues.dlang.org/show_bug.cgi?id=6034 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5944] Five ideas for the stacktrace
https://issues.dlang.org/show_bug.cgi?id=5944 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5756] amap() and maybe afilter() too
https://issues.dlang.org/show_bug.cgi?id=5756 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6019] Phobos imports in autogenerated .di header files break implicit linking with DLLs
https://issues.dlang.org/show_bug.cgi?id=6019 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5968] std.algorithm.group by key function + groupFull
https://issues.dlang.org/show_bug.cgi?id=5968 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 16071] Source file path and module name should match exactly
https://issues.dlang.org/show_bug.cgi?id=16071 Mathias Lang changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #3 from Mathias Lang --- *** Issue 9194 has been marked as a duplicate of this issue. *** --
[Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems.
https://issues.dlang.org/show_bug.cgi?id=5813 --- Comment #21 from Andrei Alexandrescu --- What's the status of this? --
[Issue 6023] std.random.uniform and std.bigint.BigInt compilation error
https://issues.dlang.org/show_bug.cgi?id=6023 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 9194] Module imports are not properly checked when found in import path
https://issues.dlang.org/show_bug.cgi?id=9194 Mathias Lang changed: What|Removed |Added Status|NEW |RESOLVED CC||mathias.l...@sociomantic.co ||m Resolution|--- |DUPLICATE --- Comment #1 from Mathias Lang --- According to Walter, this is by design. See the duplicate bug. *** This issue has been marked as a duplicate of issue 16071 *** --
[Issue 6007] BigInt->string performance
https://issues.dlang.org/show_bug.cgi?id=6007 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5995] string append negative integer causes segfault
https://issues.dlang.org/show_bug.cgi?id=5995 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 6004] std.range.unzip()
https://issues.dlang.org/show_bug.cgi?id=6004 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5543] to!int to see a char as a single-char string
https://issues.dlang.org/show_bug.cgi?id=5543 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5618] Fix separator schizophrenia
https://issues.dlang.org/show_bug.cgi?id=5618 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4851] Three suggestions for std.random
https://issues.dlang.org/show_bug.cgi?id=4851 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --- Comment #8 from Andrei Alexandrescu --- Adding some of my own: * uniform!int should give a uniform, full-range int. Same of course for all integral types. * uniform!bool should give a random bit (economically, i.e. generate a new 64-bit number every 64 calls) * uniform!double should give a double in the range [0.0, 1.0). Or is [0.0, 1.0] more appropriate? * uniform!(int[])(30) should return an array of 30 integers * uniform!string(30) should return a uniform string of 30... bytes or code points? --
[Issue 5609] struct opEquals doesn't conform to language specifications.
https://issues.dlang.org/show_bug.cgi?id=5609 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4716] std.stdio.input() or similar
https://issues.dlang.org/show_bug.cgi?id=4716 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |WONTFIX --
[Issue 5559] A static down cast in Phobos
https://issues.dlang.org/show_bug.cgi?id=5559 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5562] Add OS=win32wine build to druntime's posix.mak
https://issues.dlang.org/show_bug.cgi?id=5562 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #2 from Andrei Alexandrescu --- This would be great because it would allow us to unittest for Windows (at least to some extent) on Linux machines. FWIW I'd added such for Phobos a long time ago and it worked but it has since bitrotten (and probably disappeared) --
[Issue 5573] Compiler (not linker) should generate an error for missing main()
https://issues.dlang.org/show_bug.cgi?id=5573 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5076] std.algorithm.sorted / schwartzSorted
https://issues.dlang.org/show_bug.cgi?id=5076 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 5037] std.variant.Algebraic test use case
https://issues.dlang.org/show_bug.cgi?id=5037 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp Status|ASSIGNED|NEW --- Comment #1 from Andrei Alexandrescu --- We have limited support for self-referential structures now, so we should be able to work on this. --
[Issue 5051] dmd flag for partial compilation (similar to just running preprocessor in C/C++)
https://issues.dlang.org/show_bug.cgi?id=5051 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #10 from Andrei Alexandrescu --- That would be an interesting project. I'm envisioning it as a standalone program called e.g. "dlower" that lowers D code into a smaller subset of D. Possible flags for that program: --expand-mixins = expand all possible mixins in the code --lookup = execute lookup on all symbols and write the full symbol, e.g. writeln becomes .std.stdio.writeln --operators = explicitate all user-defined operators, e.g. a + b becomes a.opBinary!"+"(b) --omit-function-bodies = do not output function bodies, .di style --specialize-templates = write specialized versions for all templates used within the module (this is likely to be tricky) --scope = lower all scope statements into try statements --foreach = lower all foreach statements into for statements --explicit-import = specify the exact symbols needed for each import statement (which means: if no symbols, the import is redundant - easy to mark as a warning by a subsequent tool) --static-if = evaluate all static ifs possible (this mostly makes sense if --specialize-templates is also present) --versions = lower code using version(), i.e. make the unused branch disappear --omit-comments = make all comments disappear --omit-nondoc-comments = make only non-documentation comments disappear --ctfe = evaluate all possible CTFEs (tricky) The tool should generate compilable D code with the same semantics as the input and #line directives pointing to the input. Such a tool would make possible a bunch of others. I'll talk to the graduate students, maybe someone will take this. --
[Issue 5137] Compiler tips
https://issues.dlang.org/show_bug.cgi?id=5137 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |DUPLICATE --- Comment #3 from Andrei Alexandrescu --- I'll mark this as a dupe of 5051 because tips could be a part of that tool. *** This issue has been marked as a duplicate of issue 5051 *** --
[Issue 5077] std.algorithm.schwartzSort is slow
https://issues.dlang.org/show_bug.cgi?id=5077 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 4946] Not good error message with wrongly positioned 'const'
https://issues.dlang.org/show_bug.cgi?id=4946 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 5051] dmd flag for partial compilation (similar to just running preprocessor in C/C++)
https://issues.dlang.org/show_bug.cgi?id=5051 --- Comment #11 from Andrei Alexandrescu --- *** Issue 5137 has been marked as a duplicate of this issue. *** --
[Issue 4907] Catching more simple out-of-bounds errors at compile-time
https://issues.dlang.org/show_bug.cgi?id=4907 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4937] std.bitmanip: Allow repeated (identical) bitfield declarations
https://issues.dlang.org/show_bug.cgi?id=4937 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |WONTFIX --
[Issue 4965] Lacking int, uint etc. versions of most std.math functions
https://issues.dlang.org/show_bug.cgi?id=4965 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |WONTFIX --- Comment #5 from Andrei Alexandrescu --- Guess I'll close this for now. Please reopen if there are new insights. --
[Issue 5091] main runs after unittests
https://issues.dlang.org/show_bug.cgi?id=5091 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |WONTFIX --- Comment #13 from Andrei Alexandrescu --- I'll close this as we can't really make radical behavior changes right now. @Martin, anything we need to look at? --
[Issue 4896] GCC not accessed as a variable in linux.mak
https://issues.dlang.org/show_bug.cgi?id=4896 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC||and...@erdani.com Resolution|--- |FIXED --- Comment #1 from Andrei Alexandrescu --- Fixed a while ago. --
[Issue 4705] std.algorithm.max/min with key function, for a single range, + mins/maxs functions
https://issues.dlang.org/show_bug.cgi?id=4705 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #26 from Andrei Alexandrescu --- Apparently it's due in the next release, so I'll preemptively mark this as fixed. --
[Issue 5124] Make std.algorithm.sort weakly pure
https://issues.dlang.org/show_bug.cgi?id=5124 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #1 from Andrei Alexandrescu --- sort is weakly pure, bootcamping for the other issues --
[Issue 5078] Some possible improvements for std.algorithm.schwartzSort()
https://issues.dlang.org/show_bug.cgi?id=5078 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 4763] std.stdio.File.open() : more efficient implementation
https://issues.dlang.org/show_bug.cgi?id=4763 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #9 from Andrei Alexandrescu --- No allocation => win. I'm bootcamping this. --
[Issue 4747] Make each unittest block a separate function that runs independently of the others
https://issues.dlang.org/show_bug.cgi?id=4747 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp --
[Issue 4747] Make each unittest block a separate function that runs independently of the others
https://issues.dlang.org/show_bug.cgi?id=4747 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com --- Comment #6 from Andrei Alexandrescu --- Has this been resolved? --
[Issue 4722] Debug Phobos lib
https://issues.dlang.org/show_bug.cgi?id=4722 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4705] std.algorithm.max/min with key function, for a single range, + mins/maxs functions
https://issues.dlang.org/show_bug.cgi?id=4705 --- Comment #25 from Andrei Alexandrescu --- Aftermath: http://forum.dlang.org/post/ntqjd2$28fq$1...@digitalmars.com and then we can mark this as fixed. --
[Issue 4669] Unit tests do not work in libraries compiled by dmd with -lib
https://issues.dlang.org/show_bug.cgi?id=4669 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 2742] std.stdio assumes console works in utf-8
https://issues.dlang.org/show_bug.cgi?id=2742 --- Comment #15 from Walter Bright --- When I start a command prompt in Windows, I run the command: chcp 65001 which sets it to Unicode. --
[Issue 1660] DFLAGS environment variables is not working
https://issues.dlang.org/show_bug.cgi?id=1660 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #6 from Vladimir Panteleev --- The configuration file can reference existing environment variables. Thus, if you want dmd to get command-line options from the environment, append %MY_DFLAGS% at the end of the DFLAGS setting in the configuration file, and specify your flags in the MY_DFLAGS variable. --
[Issue 16612] New: Bug in std.regex? in dmd? Segmentation fault
https://issues.dlang.org/show_bug.cgi?id=16612 Issue ID: 16612 Summary: Bug in std.regex? in dmd? Segmentation fault Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: dpyurche...@admomsk.ru # cat issue.d import std.regex; import std.stdio; void main() { auto r = regex(r"[0-9]"); foreach(line; stdin.byLine) { try { auto m = matchAll(line, r); } catch(Exception e) continue; } } # dmd --version DMD64 D Compiler v2.071.2 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright # dmd issue.d # file issue issue: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=aca6ea48b10e8b41a49510e3a2348811347f7246, not stripped # ldd issue linux-vdso.so.1 (0x7ffe8e9e5000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f1f02b89000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f1f02888000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f1f0268) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f1f0247c000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f1f02266000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f1f01ebb000) /lib64/ld-linux-x86-64.so.2 (0x7f1f02da6000) # time ./issue < /dev/urandom Segmentation fault real0m4.389s user0m1.716s sys 0m2.664s # ldc2 --version LDC - the LLVM D compiler (1.1.0-beta3): based on DMD v2.071.2 and LLVM 3.9.0 built with LDC - the LLVM D compiler (1.1.0-beta3) Default target: x86_64-unknown-linux-gnu Host CPU: penryn http://dlang.org - http://wiki.dlang.org/LDC Registered Targets: x86- 32-bit X86: Pentium-Pro and above x86-64 - 64-bit X86: EM64T and AMD64 # ldc2 issue.d # file issue issue: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=f7bba9ffa9fe9ed20514248f9b86bbb3b46115f4, not stripped # ldd issue linux-vdso.so.1 (0x7ffd867e6000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f798f2c6000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f798f0c2000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f798eea5000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f798eba4000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f798e98e000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f798e5e3000) /lib64/ld-linux-x86-64.so.2 (0x7f798f4ce000) # time ./issue < /dev/urandom ^C real6m28.451s user2m3.708s sys 4m24.472s # uname -a Linux host 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux --
[Issue 16484] regression(2.064) Overloaded empty funcs trigger AssertError: "Called `get' on null Nullable"
https://issues.dlang.org/show_bug.cgi?id=16484 --- Comment #5 from ag0ae...@gmail.com --- (In reply to Walter Bright from comment #3) > (In reply to ag0aep6g from comment #2) > > void foo(T)(Nullable!T value) {} > > Considered: > "match with conversion for initial template arguments" Here "with conversion" means that it needs template argument inference, right? > "exact match for inferred template arguments" > > > void foo()(int i) { assert(false); /* hit */ } > > Considered: >"exact match for initial template arguments" >"exact match for inferred template arguments" But this one is not an exact match. It involves an `alias this` conversion from Nullable!int to int. As far as I can tell, it should be: "match with conversion for initial template arguments" "match with conversion for inferred template arguments" Or maybe just "match with conversion" since there are no template parameters. The empty template parentheses can actually be omitted without changing the behavior of the code. --