Open FilipToth opened 2 years ago
The local functions API is quite messy:
private Dictionary<BoundScope, List<Tuple<FunctionSymbol, BoundBlockStatement>>> _localFunctions = new Dictionary<BoundScope, List<Tuple<FunctionSymbol, BoundBlockStatement>>>();
It would be a good idea to rework this for clarity.
Probably just add a local functions field to the BoundScope API, this feels so dumb in retrospect :joy:.
BoundScope
Background and Motivation
The local functions API is quite messy:
It would be a good idea to rework this for clarity.