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
Description
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() {
}
}