Skip to content
New issue

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

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

Already on GitHub? # to your account

WISH: it should be allowed to use SIGNED as a word in vector construction dialect as an opposite to available UNSIGNED #2396

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Labels
Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: Oldes

Current behaviour:

>> make vector! [unsigned integer! 32 4]
== make vector! [unsigned integer! 32 4 [0 0 0 0]]

>> make vector! [signed integer! 32 4]
** Script error: cannot MAKE/TO vector! from: [signed integer! 32 4]
** Where: make
** Near: make vector! [signed integer! 32 4]

I believe that it would be better to allow signed word as well, and so instead of the error have:

>> make vector! [signed integer! 32 4]
== make vector! [integer! 32 4 [0 0 0 0]]

Imported from: metaeducation#2395

Comments:

Oldes added a commit to Oldes/Rebol3 that referenced this issue on Jan 22, 2020:
FEAT: allow SIGNED word as a key word in vector construction dialec…


@Siskin-Bot Siskin-Bot added the Oldes.resolved Bugs/wishes with Oldes' fixes/features label Feb 15, 2020
@Oldes Oldes closed this as completed Feb 17, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written
Projects
None yet
Development

No branches or pull requests

2 participants