Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Conversation

@matanlurey
Copy link
Contributor

@matanlurey matanlurey commented Jan 11, 2017

Closes dart-lang/tools#901
Closes dart-lang/tools#900
Closes dart-lang/tools#898

  • Allow referring to a ClassBuilder and TypeBuilder as an expression
  • Add support for accessing the index [] operator on an expression

BREAKING CHANGES

  • Changed ExpressionBuilder.asAssign to always take an ExpressionBuilder as
    target and removed the value property. Most changes are pretty simple, and
    involve just using reference(...). For example:
literal(true).asAssign(reference('flag'))

... emits flag = true.

@matanlurey matanlurey assigned natebosch and unassigned natebosch Jan 11, 2017
@matanlurey matanlurey requested a review from natebosch January 11, 2017 18:09
@matanlurey matanlurey merged commit 37f08c0 into dart-archive:master Jan 11, 2017
@matanlurey matanlurey deleted the close-more-bugs branch January 11, 2017 18:15
mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
…der#64)

* Close a bunch of open issues.

* Update CHANGELOG.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

ReferenceBuilder implements ExpressionBuilder, but TypeBuilder does not Use astFactory for Async and Yield Support to call the indexer [] and []=

3 participants