HaxeFoundation / HaxeFoundation/haxe

[dce] regression

Open
#6,436 10 comments 1 reaction 1 assignee Claimed by @Simn View on GitHub
bug feature-dce
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

(one of) the reduced issue that @markknol reported early today:

```haxe
extern class C1 {
var v:C2;
}

class C2 {}
```

generated js with `-dce=full`
```js
// Generated by Haxe 4.0.0 (git build development @ 2844994)
(function () { "use strict";
var C2 = function() { };
})();
```

The breaking commit seems to be 0b3e1265b8c3921f449c4facfbaaa43e334d087b, though it might just surface another issue...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.