Analyzer attempts to find the source of types

This commit is contained in:
2022-09-29 22:54:32 -04:00
parent 1300f87cb5
commit d117e2727c
4 changed files with 30 additions and 8 deletions

View File

@@ -89,6 +89,18 @@ func (analyzer AnalysisOperation) analyzeType (
var points Type
points, err = analyzer.analyzeType(inputType.Points())
outputType.points = &points
} else {
var bitten parser.Identifier
outputType.actual,
bitten,
err = analyzer.fetchSectionFromIdentifier(inputType.Name())
if bitten.Length() > 0 {
err = bitten.NewError(
"cannot use member selection in this context",
infoerr.ErrorKindError)
return
}
}
// TODO