Ignore:
Timestamp:
Sep 7, 2024, 1:36:10 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
478dade
Parents:
82a5ea2
Message:

change exception throw to use copy constructor rather than assignment to initialize exception instance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptDecl.cpp

    r82a5ea2 ra933489b  
    99// Author           : Andrew Beach
    1010// Created On       : Tue Jul 12 15:50:00 2022
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Jul 18 11:01:00 2022
    13 // Update Count     : 0
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Sat Sep  7 12:05:55 2024
     13// Update Count     : 1
    1414//
    1515
     
    286286                        new ast::ExprStmt( location,
    287287                                new ast::UntypedExpr( location,
    288                                         new ast::NameExpr( location, "?=?" ),
     288                                        new ast::NameExpr( location, "?{}" ),
    289289                                        {
    290290                                                new ast::UntypedExpr( location,
Note: See TracChangeset for help on using the changeset viewer.