Skip to content

NullReferenceException in CommitStaged #139

@ccady

Description

@ccady

The following code demonstrates a NullReferenceException when invoking CommitStaged:

public void SymSpellTest()
{
	// Demonstrates a problem in SymSpell.
	var spell = new SymSpell();
	var stage = new SymSpell.SuggestionStage(10);
	spell.CreateDictionaryEntry("word", 10, stage);
	spell.CommitStaged(stage); // this causes a NullReferenceException
}

I have been having trouble figuring this out. I apologize for not debugging further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions