@markw65/monkeyc-optimizer 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -612,3 +612,33 @@ Bug Fixes
612
612
  - Replace more expensive accesses by less expensive ones.
613
613
  - Delete empty else blocks.
614
614
  - Delete if statements with empty body and no else.
615
+
616
+ ### 1.1.4
617
+
618
+ - Optimizations
619
+
620
+ - Minor tweaks to dead store elimination
621
+ - Better type resolution for untyped code
622
+
623
+ - Enhancements
624
+
625
+ - Retain the type map in the analysis pass, so that it can be used to improve
626
+ the results in visitReferences
627
+
628
+ - Bug fixes
629
+
630
+ - When multiple diagnostics were reported for a single location, all but the last was lost
631
+ - Sometimes when evaluating MemberExpressions type-flow would give up too easily, resulting
632
+ in unknown types for the object, which then resulted in unexpected error messages from
633
+ the type checker, often involving seemingly unrelated classes.
634
+ - Inlining history was sometimes lost when further optimizations were performed.
635
+
636
+ - Code cleanup
637
+ - refactor some of the type code for better type safety
638
+ - turn on the eslint rule eqeqeq and fix all the issues
639
+
640
+ ### 1.1.5
641
+
642
+ - Bug fixes
643
+ - Always evaluate a constant's initializer to determine its type
644
+ - Fix a bug refining the object type based on the properties it accesses that could lose the type of the object.