fixed issue with intransitive verbs not checking for subject agreement
This commit is contained in:
parent
db3bc8303b
commit
411f5b2d04
|
@ -29,9 +29,6 @@ import { isSecondPerson, personToGenNum } from "../misc-helpers";
|
|||
import { equals, zip } from "rambda";
|
||||
import { isImperativeTense } from "../type-predicates";
|
||||
// to hide equatives type-doubling issue
|
||||
// TODO: THESE SHOULD ERROR!!
|
||||
// ماشومانې لاړل
|
||||
// ماشومان لاړلې
|
||||
|
||||
// TODO: problem with 3rd pers seng verb endings اواز مې دې واورېده
|
||||
|
||||
|
@ -324,6 +321,11 @@ function finishIntransitive({
|
|||
message: "subject of intransitive verb must not be inflected",
|
||||
});
|
||||
}
|
||||
if (subjectPerson !== person) {
|
||||
errors.push({
|
||||
message: "subject and verb must agree for intransitive verb",
|
||||
});
|
||||
}
|
||||
const blocks: T.VPSBlockComplete[] = [
|
||||
...mapOutnpsAndAps(["S"], npsAndAps),
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue