You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message="Language feature \"enums\" is only available when preview features are enabled"
522
-
},"enums are a preview feature");
521
+
Message=$"Language feature \"enums\" is not available at language version {Project.YarnSpinnerProjectVersion2}; it requires version {Project.YarnSpinnerProjectVersion3} or later"
Message="Language feature \"smart variables\" is only available when preview features are enabled"
528
-
},"smart variables are a preview feature");
527
+
Message=$"Language feature \"smart variables\" is not available at language version {Project.YarnSpinnerProjectVersion2}; it requires version {Project.YarnSpinnerProjectVersion3} or later"
Message="Language feature \"line groups\" is only available when preview features are enabled"
534
-
},"line groups are a preview feature");
533
+
Message=$"Language feature \"line groups\" is not available at language version {Project.YarnSpinnerProjectVersion2}; it requires version {Project.YarnSpinnerProjectVersion3} or later"
534
+
},"line groups require version 3");
535
535
536
-
resultWithPreviewFeatures.Diagnostics.Should().NotContain(d =>d.Severity==Diagnostic.DiagnosticSeverity.Error,"preview features are allowed, so no errors are produced");
536
+
resultWithPreviewFeatures.Diagnostics.Should().NotContain(d =>d.Severity==Diagnostic.DiagnosticSeverity.Error,"version 3 features are allowed, so no errors are produced");
0 commit comments