'd8 Warning: unknown flag --print-ast

enter image description here

When I run d8 --help there is indeed no --print-ast.

How can I print AST?



Solution 1:[1]

You need a debug build of d8 if you want to use --print-ast.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 jmrk