Skip to content

Conversation

@jason-simmons
Copy link
Member

Fixes #16200

@jason-simmons
Copy link
Member Author

@tvolkert

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can also just remove the show line, we usually import this file unconditionally.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this used to support foo=bar and foo='bar', but not only supports foo='bar', is that intentional?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this handles foo='bar baz=quux' differently than what we did before, and will find a=b in zz="xx a='b' yy"

we should add tests for these cases to make sure they do what we want, in case someone "fixes" the code to be like it was before.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this is WAI - the Android tool always surrounds the attributes that we care about with quotes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(specifically single quotes - it will not use double quotes as in the zz="xx a='b' yy" case)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use UnmodifiableMapView just to be safe.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@jason-simmons jason-simmons merged commit 24bfbeb into flutter:master Apr 5, 2018
@Pushkar98
Copy link

Hey we are getting the same error pointed out in 16200. However going by the feed, the solution is not clear for the same. Can anyone help?

DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
teriyakijack added a commit to teriyakijack/flutter that referenced this pull request Jul 17, 2018
* 'master' of https://github.com/flutter/flutter:
  Roll engine to aa9ce70 (flutter#16289)
  Rename chip's border attribute to shape for consistency. (flutter#16276)
  Added BeveledRectangleBorder ShapeBorder (flutter#16279)
  Roll engine to version be07059 (flutter#16264)
  Make Podfiles work with Cocoapods 1.5.0 (flutter#16273)
  Updated appearance of filled TextFields - added UnderlineInputBorder.borderRadius (flutter#16272)
  Handle whitespace in entry values in the AAPT badging parser (flutter#16245)
  a11y adjustments for the Bottom app bar demo (flutter#16238)
  Play butterfly video from asset instead of network (flutter#16269)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RangeError crash in _StringBase.substring

5 participants