Make Lexeme constructor accept FormSet only

Authored by thiemowmde on Oct 12 2017, 8:32 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.


Make Lexeme constructor accept FormSet only

This is mostly for consistency. The class exists. There is the NewForm
builder which should accept other stuff for convenience. Here we want to
be strict.

Next step is to make all the getters return FormSet objects too. But
this touches much more code and will be done later, see I1af251f.

I'm also fixing a few mistakes in related code.

Bug: T164742
Change-Id: I5385781b0109b4fe0023c27fa987cc1978ffc525