tamer: nir::air::NirToAir: Note about intent to refactor
The comment speaks for itself. My concern is that this will be especially off-putting to people looking at TAMER and wondering how one could possibly work with this system. DEV-13162main
parent
4510de38ed
commit
7a6aef00b2
|
@ -113,6 +113,10 @@ impl ParseState for NirToAir {
|
|||
return Transition(Ready).ok(obj).with_lookahead(tok);
|
||||
}
|
||||
|
||||
// TODO: The intent is to refactor this monstrosity once we're far
|
||||
// enough along that a clear pattern emerges.
|
||||
// Part of this process has been deriving appropriate
|
||||
// responsibilities betwen XIR->NIR, NIR->AIR, and AIR->ASG.
|
||||
match (self, tok) {
|
||||
(Ready, Open(Package, span)) => {
|
||||
Transition(Ready).ok(Air::PkgStart(span))
|
||||
|
|
Loading…
Reference in New Issue