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
We have just released Metalama 2024.2.3-preview, which contains all changes from 2024.2.2-preview and 2024.1.16 plus the following:
Improved
New class SwitchStatementBuilder to dynamically creating a switch statement (cases can be added programmatically - only literal case labels are currently supported.)
Linker: improve exception context.
Adding IExpression.WithType and IExpression.WithNullability to override the inferred type or nullability of a captured expression.
New method StatementFactory.FromTemplate to create an IStatement from a template.
New concept IStatementList to represent an unresolved list of statements. New extension methods IStatement.AsList(), IEnumerable<IStatement>.AsList(), and IStatement.UnwrapBlock to create lists. New class StatementListBuilder to create an IStatementList by adding elements.
Fixed
Suppression scopes are inconsistent between compile-time and design-time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have just released Metalama 2024.2.3-preview, which contains all changes from 2024.2.2-preview and 2024.1.16 plus the following:
Improved
SwitchStatementBuilder
to dynamically creating aswitch
statement (cases can be added programmatically - only literal case labels are currently supported.)IExpression.WithType
andIExpression.WithNullability
to override the inferred type or nullability of a captured expression.StatementFactory.FromTemplate
to create anIStatement
from a template.IStatementList
to represent an unresolved list of statements. New extension methodsIStatement.AsList()
,IEnumerable<IStatement>.AsList()
, andIStatement.UnwrapBlock
to create lists. New classStatementListBuilder
to create anIStatementList
by adding elements.Fixed
Beta Was this translation helpful? Give feedback.
All reactions