Skip to content

Escape constants #1187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 23, 2016
Merged

Escape constants #1187

merged 3 commits into from
Jun 23, 2016

Conversation

devoncarew
Copy link
Member

@keertip

@eseidel
Copy link

eseidel commented Jun 23, 2016

Why did a bunch of links go away in your expected results?

@devoncarew
Copy link
Member Author

It's a manual process to regenerate the reference docs, and the PR before me didn't include the regened docs. It makes this PR a little noisy -

@@ -1260,12 +1260,12 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans,
});

test('COLOR_ORANGE has correct value', () {
expect(orangeConstant.constantValue, "'orange'");
expect(orangeConstant.constantValue, "'orange'");
Copy link

Choose a reason for hiding this comment

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

It might be worth adding a test for documentation of a generic, since that was the failing case in flutter. Doesn't look like current testing covers Foo<Bar,Baz>

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point - added.

@devoncarew
Copy link
Member Author

screen shot 2016-06-22 at 9 32 41 pm

@keertip
Copy link
Collaborator

keertip commented Jun 23, 2016

lgtm!

There is a test that checks the changes against the checked in docs and flags for regen. Looks like the test is not quite working. opened #1190 to track.

@devoncarew devoncarew merged commit 8e7d638 into master Jun 23, 2016
@kevmoo kevmoo deleted the escape_constants branch June 28, 2016 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect HTML escaping for const expressions
3 participants