Remove fixed TODOs.

This commit is contained in:
Natalie Weizenbaum 2016-09-07 18:31:52 -07:00 committed by Natalie Weizenbaum
parent bde9c353f5
commit 913e81faaa
2 changed files with 1 additions and 3 deletions

View File

@ -158,7 +158,7 @@ class Extender {
for (var i = 0; i < compound.components.length; i++) {
var simple = compound.components[i];
// TODO: handle extending into pseudo selectors, extend failures
// TODO: handle extending into pseudo selectors
var sources = extensions[simple];
if (sources == null) continue;

View File

@ -573,8 +573,6 @@ class PerformVisitor implements StatementVisitor, ExpressionVisitor<Value> {
Value visitVariableExpression(VariableExpression node) {
var result = _environment.getVariable(node.name);
if (result != null) return result;
// TODO: real exception
throw _exception("Undefined variable.", node.span);
}