CALT doesnt work

Why this is not working? Just feature a contextual alternate script, generate the 2 new glyphs a.ss01, a.ss02

feature calt {
sub a a’ by a.ss01;
sub a.ss01 a’ by a.ss02;
} calt;

In the preview mode doesnt show the sustitutions. Yes I enabled the popup with ‘calt’

Any helps?

In Glyphs, you don’t need feature calt {…} calt; and as soon as I pasted the second and third lines and compiled the feature, it worked fine.

Did you actually compile the features?

And you do not need to repeat the ‘feature’ directive inside the calt feature. You just need the ‘sub’ lines.