Replay each path's selectors through the walk for the family fence, require a key for a name, refuse a name shadowing a key, a table reading its own family and an ancestor's column clash, add the row node and family.go, and pin eight rows inline
This commit is contained in:
@@ -157,10 +157,9 @@ func tableRecord(s *session, t *table, tail []string, sc drawScope) (node, error
|
||||
case *table:
|
||||
sc.draws(s).rowOf(n)
|
||||
return n, nil
|
||||
case *row:
|
||||
return n.t, nil
|
||||
case *column:
|
||||
if n.i < 0 {
|
||||
return n.t, nil
|
||||
}
|
||||
return nil, fmt.Errorf("descends into %q, a column; a record is a table's row", n.t.columns[n.i])
|
||||
}
|
||||
return n, nil
|
||||
|
||||
Reference in New Issue
Block a user