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

save/header does no longer work #1065

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

save/header does no longer work #1065

Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Labels
CC.resolved Issue with CureCode status built, tested or complete Test.written Type.bug

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: sqlab

maybe because of binary! not belonging anymore to any-string!, save/header is no longer possible
remedy:

Defer to-binary just before the switch statement

>> save/header s: ""  "1" [ ]
** Script error: invalid argument: [REBOL #" " "[]" #"^/"]
** Where: insert if save
** Near: insert data reduce ['REBOL #" " mold header-data newline]

** Note: use WHY? for more about this error

Imported from: CureCode [ Version: alpha 69 Type: Bug Platform: All Category: Mezzanine Reproduce: Always Fixed-in:alpha 70 ]
Imported from: metaeducation#1065

Comments:

Rebolbot commented on Jul 9, 2009:

Submitted by: BrianH

Better yet, put the to-binary inside the switch statement - this saves on conversion overhead in the SAVE "" stuff case.

Implemented in mezz-load.r 4877.


Rebolbot added the Type.bug on Jan 12, 2016


@Siskin-Bot Siskin-Bot added the CC.resolved Issue with CureCode status built, tested or complete label May 22, 2020
@Oldes Oldes closed this as completed Feb 1, 2022
Oldes added a commit to Oldes/Rebol3 that referenced this issue Feb 1, 2022
Oldes added a commit to Oldes/Rebol3 that referenced this issue Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CC.resolved Issue with CureCode status built, tested or complete Test.written Type.bug
Projects
None yet
Development

No branches or pull requests

2 participants