Thread overview
[Issue 18242] DMD Segmentation fault.
Jan 16, 2018
changlon
Mar 19, 2018
Walter Bright
January 16, 2018
https://issues.dlang.org/show_bug.cgi?id=18242

--- Comment #1 from changlon <changlon@gmail.com> ---


/**
 * This code is based on Adam D. Ruppe $(LINK2
http://arsdnet.net/dcode/minimal.zip minimal.zip).
 * Probably Boost licensed
 */
module object;


/// All D class objects inherit from Object.
class Object {
}

/// The base class of all thrown objects.
class Throwable {

}


int _d_run_main() {
        int result = void;
        try             result = 1;
catch(Throwable e)         _d_print_throwable;
}


==============
dmd -defaultlib= -debuglib=  object.d

--
March 19, 2018
https://issues.dlang.org/show_bug.cgi?id=18242

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/8050

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=18242

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/94b728c0f9d1071d30f87ff0e261cfeb0a1c2ac1 Fix issue 18242 - Warn if object.Exception is missing

https://github.com/dlang/dmd/commit/2b4c6269828213655f624134ccd8af27c1395737 Merge pull request #8050 from LemonBoy/throw-miss

Fix issue 18242 - Warn if object.Exception is missing merged-on-behalf-of: Mike Franklin <JinShil@users.noreply.github.com>

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=18242

github-bugzilla@puremagic.com changed:

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

--