Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAKE ERROR! does not process THROWN values as THROWN #2244

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Closed

MAKE ERROR! does not process THROWN values as THROWN #2244

Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Labels

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: fork

Similar to #2243. MAKE ERROR! evaluates the block it is passed like MAKE OBJECT! does. But if a THROW-style operation happens (including CONTINUE, BREAK, RETURN, etc.) then rather than handling it, it will process the THROWN()

>> make error! [type: 'Access arg1: 10 + 20 id: 'Protocol]      
** Access error: protocol error: 30

>> make error! [type: 'Access arg1: throw 10 + 20 id: 'Protocol]              
** Internal error: error object or fields were not valid   ;-- expect "unhandled throw"

Imported from: CureCode [ Version: r3 master Type: Bug Platform: All Category: Unspecified Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#2244

Comments:


Rebolbot added the Type.bug on Jan 12, 2016


Ladislav commented on Feb 6, 2016:

For the terminology, see also http://www.rebol.com/r3/notes/errors.html


@Oldes Oldes added the Waiting for future Issues and wishes which are closed, but will be nice to resolve later label Dec 4, 2020
@Oldes Oldes closed this as completed Dec 4, 2020
Oldes added a commit to Oldes/Rebol3 that referenced this issue Jun 21, 2023
@Oldes Oldes added Test.written Oldes.resolved Bugs/wishes with Oldes' fixes/features and removed Waiting for future Issues and wishes which are closed, but will be nice to resolve later labels Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants