in lib/semantic.js [2770:2798]
keyType: _basic('string'),
valueType: same ? current : _basic('any')
};
}
if (ast.type === 'variable') {
return this.getVariableType(ast.id, env);
}
if (ast.type === 'virtualVariable') {
const type = this.getInstanceProperty(ast.vid.lexeme);
return this.getType(type.value);
}
if (ast.type === 'null') {
return _basic('null');
}
if (ast.type === 'template_string') {
return _basic('string');
}
if (ast.type === 'call') {
assert.ok(ast.inferred);
return ast.inferred;
}
if (ast.type === 'super') {
return {