refactor(ast): add NULL value for serializing null types#8987
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #8987 will not alter performanceComparing Summary
|
NULL value for serializing null typesNULL value for serializing null types
hi-ogawa
left a comment
There was a problem hiding this comment.
Nice! There are two more value = () in crates/oxc_ast/src/ast/literal.rs. Can we change that too?
71bf6f8 to
b45bf2c
Compare
63409bc to
ec1d593
Compare
b45bf2c to
a92f16a
Compare
In the interests of merging this swiftly, I've pushed an extra commit to do that. |
Merge activity
|
from #8980 (comment), added a special value that just represents a unit type, which should always be serialized to `null`
a877e45 to
0929320
Compare

from #8980 (comment), added a special value that just represents a unit type, which should always be serialized to
null