Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

v3.1.0

Compare
Choose a tag to compare
@matanlurey matanlurey released this 01 Jun 19:02
· 151 commits to master since this release

3.1.0

  • Added Expression.asA for creating explicit casts:
void main() {
  test('should emit an explicit cast', () {
    expect(
      refer('foo').asA(refer('String')),
      equalsDart('foo as String'),
    );
  });
}