Contextual alternates syntax error


I’m new to Glyphs and trying to get contextual alternates to work. I read the tutorials and used the same naming conventions, made the classes and added the calt feature. Hitting compile gives the error: Error: “syntax error at “d.ss02” [features.fea 41” in Class alt2 in line: 1

There seems to be no typo in the name. Disabling class ‘alt2’ and removing the second line of code from the calt feature works fine. Anyone any suggestions?

Make sure the glyph before d.ss02 is present in the font.

1 Like

I feel quite stupid…how could I miss this. Thanks for the help psb6m, works like a charm now.

Very glad to help.