Skip to content
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

add library-level docs to help with importing #26330

Merged
merged 1 commit into from
Apr 27, 2016

Conversation

sethladd
Copy link
Contributor

*
* To use this library in your code:
*
* import 'dart:collection';
Copy link
Member

Choose a reason for hiding this comment

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

Use

import 'dart:collection';

please

Copy link
Member

Choose a reason for hiding this comment

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

...meaning, triple-tick dart syntax

Copy link
Contributor

Choose a reason for hiding this comment

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

Why?
All of the core libraries use indentation. The only exception seems to be uri.dart.

Tbh I don't mind either, but I wouldn't ask patches to the core libraries to use one or the other.

@sethladd
Copy link
Contributor Author

I just followed the previous convention.

@kevmoo
Copy link
Member

kevmoo commented Apr 26, 2016

I'm encouraging a slow and steady move towards our current recommendation – but not a biggy

@sethladd
Copy link
Contributor Author

Can we land as is and then change all at once in another PR?

@floitschG floitschG merged commit a961202 into dart-lang:master Apr 27, 2016
@sethladd sethladd deleted the library-level-import-docs branch April 27, 2016 17:09
@sethladd
Copy link
Contributor Author

Thanks!

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.

3 participants