Skip to content

Inner function should be pre-interpreted in all of call-scopes (v1.2) #2

Description

@jingwood

Curernt ReoScript does not pre-interpret the inner functions which defined inside another function scope. Function call before its definition currently is not available.

function outer() {
  inner();           // error: Function is not defined: inner

  function inner() {
    console.log('inner called');
  };
};

outer();

This issue is planned to be solved in next release.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions