Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Docs for no-implicit-casts and no-implicit-dynamic #601

Merged
merged 3 commits into from
Jul 13, 2016

Conversation

jmesserly
Copy link
Contributor

As part of fixing dart-lang/sdk#26782, I wanted to be able to link to some documentation for the Analyzer flags.

As part of fixing dart-lang/sdk#26782, I wanted to be able to link to some documentation for the Analyzer flags.
@jmesserly
Copy link
Contributor Author

jmesserly commented Jul 13, 2016

@leafpetersen does this new doc section look reasonable?
https://github.com/dart-lang/dev_compiler/blob/de1a91948b8447ffddba2d6221a463d66304170c/doc/STATIC_SAFETY.md#optional-features

I'm working on the CL to try these but wanted to have something to link to.

Uhhh, now that I think on it, I should probably say experimental in there somewhere :) this has been done

```

It is designed to prevent accidental use of `dynamic` in code that does not intend to use it. It will lead to
more verbose dynamic code, so it may not be advisable for your code depending on its goals.
Copy link
Contributor

Choose a reason for hiding this comment

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

"It is designed" -> "This feature is designed". The second sentence feels unnecessary to me, and maybe more apologetic than needed. It's an optional feature, they can use it or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@leafpetersen
Copy link
Contributor

lgtm.

improve optional flags documentation
@jmesserly jmesserly merged commit 878281f into master Jul 13, 2016
@jmesserly jmesserly deleted the doc-optional-features branch July 13, 2016 19:01
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.

2 participants