Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Use before define from variables to classes. #131

Closed
@vsmenon

Description

@vsmenon

This code (from Angular):

/// Marker for an uninitialized value.
const UNINITIALIZED = const _Uninitialized();
class _Uninitialized { const _Uninitialized(); }

is causing a runtime error on generated code as the use is before the define:

  let UNINITIALIZED = new _Uninitialized();
  class _Uninitialized extends core.Object {
    _Uninitialized() {
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions