Thread overview
[Issue 20626] ICE when using typeof of unittest symbol without -unittest flag
May 15, 2020
Dlang Bot
May 15, 2020
Dlang Bot
March 02, 2020
https://issues.dlang.org/show_bug.cgi?id=20626

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
           Hardware|x86                         |All
                 OS|Mac OS X                    |All
           Severity|enhancement                 |regression

--- Comment #1 from moonlightsentinel@disroot.org ---
Digger:

commit 081494aaf8251f37dc08960d40bfb159968ed729
Author: The Dlang Bot <code+dlang-bot@dawg.eu>
Date:   Fri Feb 2 00:16:54 2018 +0100

    dmd: Merge pull request #7761 from atilaneves/fix_18097

    https://github.com/dlang/dmd/pull/7761

    Fix issue 18097 - unittest symbol names can be used before semantic
    merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>

--
May 15, 2020
https://issues.dlang.org/show_bug.cgi?id=20626

--- Comment #2 from moonlightsentinel@disroot.org ---
What should typeof(__unittest_L1_C1) return, the actual function type or
_error_?

--
May 15, 2020
https://issues.dlang.org/show_bug.cgi?id=20626

--- Comment #3 from moonlightsentinel@disroot.org ---
(In reply to moonlightsentinel from comment #2)
> What should typeof(__unittest_L1_C1) return, the actual function type or
> _error_?

Or void?

--
May 15, 2020
https://issues.dlang.org/show_bug.cgi?id=20626

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #11145 "Fix Issue 20626 - ICE when using typeof of unittest symbol without -u…" fixing this issue:

- Fix Issue 20626 - ICE when using typeof of unittest symbol without -unittest flag

https://github.com/dlang/dmd/pull/11145

--
May 15, 2020
https://issues.dlang.org/show_bug.cgi?id=20626

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11145 "Fix Issue 20626 - ICE when using typeof of unittest symbol without -u…" was merged into stable:

- 71ce029a48caf897c463df0513f713af88eb42ed by MoonlightSentinel:
  Fix Issue 20626 - ICE when using typeof of unittest symbol without -unittest
flag

https://github.com/dlang/dmd/pull/11145

--