diff --git a/src/Draco.Compiler/Internal/Codegen/MetadataCodegen.cs b/src/Draco.Compiler/Internal/Codegen/MetadataCodegen.cs index 0709d8b17..f326d1777 100644 --- a/src/Draco.Compiler/Internal/Codegen/MetadataCodegen.cs +++ b/src/Draco.Compiler/Internal/Codegen/MetadataCodegen.cs @@ -232,6 +232,7 @@ Symbol GetContainingSymbol() { if (func.IsNested) { + // TODO: This can be fixed by moving this structural responsibility to the IR // We can't have nested functions represented in metadata directly, so we'll climb up the parent chain // To find the first non-function container return func.AncestorChain