Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Compiler] Internal error defer needs a value #4526

Copy link
Copy link
@hiiamboris

Description

@hiiamboris
Issue body actions

Describe the bug

Compile this:

Red []                                 
c: context [++: make op! func [x y] []]

Compiler says:

-=== Red Compiler 0.6.4 ===-

Compiling D:\devel\red\red-src\red-master\environment\reactivity-bug2.red ...
*** Red Compiler Internal Error: Script Error : defer needs a value
*** Where: comp-word
*** Near:  [defer: fetch-functions skip pc -2]

Expected behavior

Compiles.

Platform version (please complete the following information)

Red 0.6.4 for Windows built 28-May-2020/17:51:04+03:00 commit #36857eb

Metadata

Metadata

Assignees

No one assigned

    Labels

    status.testedThe change in code has been manually tested and verified to fix the issue.The change in code has been manually tested and verified to fix the issue.test.writtenA regression test has been written and tested for the ticket.A regression test has been written and tested for the ticket.type.bugTicket describes an abnormal behavior, not conforming to the specs or expectation.Ticket describes an abnormal behavior, not conforming to the specs or expectation.type.compilerRed compiler related issues.Red compiler related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.