Ignore:
Timestamp:
Dec 14, 2023, 9:05:55 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
19a2890
Parents:
21ad568
Message:

second attempt at simplifying SemanticError? messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cpp

    r21ad568 rca9d65e  
    99// Author           : Andrew Beach
    1010// Created On       : Thr Oct  6 13:39:00 2022
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Oct  2 17:00:00 2023
    13 // Update Count     : 0
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Dec 14 17:42:17 2023
     13// Update Count     : 7
    1414//
    1515
     
    777777                if ( !concrete ) {
    778778                        // Should this be an assertion?
    779                         SemanticError( expr, toString( typeSubs,
    780                                 "\nunbound type variable: ", typeVar->typeString(),
    781                                 " in application " ) );
     779                        SemanticError( expr->location, "\nunbound type variable %s in application %s",
     780                                                   toString( typeSubs ).c_str(), typeVar->typeString().c_str() );
    782781                }
    783782                arg = expr->args.insert( arg,
Note: See TracChangeset for help on using the changeset viewer.