tame/tamer/src
Mike Gerwitz fcd25d581c tamer: asg::air::expr: Do not cache (globally) identifiers created with StoreDangling
I'm not happy with this implementation.  The linear search is undesirable,
but not too bad (and maybe wouldn't even be worth caching, if this were the
whole story), but we _also_ need to prevent duplicate identifiers.  We are
not going to want to perform a linear search of a linked list (effectively)
every time we add an identifier to check for uniqueness, so I think the
caching is going to have to be generalized very shortly anyway.

As it stands now, a duplicate identifier would cause an error at expansion
time.  That's not what we want, but it's not terrible, because you can have
that same problem in normal circumstances without local conflicts.

But this'll be used for metavariables as well, where we absolutely _do_ want
to fail at template definition time.

DEV-13708
2023-03-29 12:58:35 -04:00
..
asg tamer: asg::air::expr: Do not cache (globally) identifiers created with StoreDangling 2023-03-29 12:58:35 -04:00
bin tamer: Introduce desugaring operation for shorthand template application 2023-03-29 12:58:34 -04:00
diagnose tamer: diagnose::panic::diagnostic_todo!: New macro 2023-01-20 23:37:30 -05:00
iter Copyright year and name update 2023-01-20 23:37:30 -05:00
ld tamer: asg::graph: *lookup{=>_global}* 2023-03-29 12:58:35 -04:00
nir tamer: nir: Desugar shorthand template params and yield AIR 2023-03-29 12:58:35 -04:00
obj Copyright year and name update 2023-01-20 23:37:30 -05:00
parse tamer: parse::state::ParseState: Remove `Eq` derivation 2023-03-10 14:27:59 -05:00
sym Copyright year and name update 2023-01-20 23:37:30 -05:00
test Copyright year and name update 2023-01-20 23:37:30 -05:00
xir tamer: nir: Desugar shorthand template params and yield AIR 2023-03-29 12:58:35 -04:00
convert.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
diagnose.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
f.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
fmt.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
fs.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
global.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
iter.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
ld.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
lib.rs tamer: asg::air: Extract template parsing into own parser 2023-03-10 14:27:59 -05:00
nir.rs tamer: nir: Desugar shorthand template params and yield AIR 2023-03-29 12:58:35 -04:00
num.rs Copyright year and name update 2023-01-20 23:37:30 -05:00
parse.rs tamer: asg::air: Extract expression parsing into `expr` 2023-03-10 14:27:59 -05:00
span.rs tamer: span: Resolve unusued import warning for debug diagnostic 2023-03-10 14:27:58 -05:00
xir.rs tamer: xir::autoclose: New lowering operation 2023-03-10 14:27:57 -05:00