-
Notifications
You must be signed in to change notification settings - Fork 705
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
Fixed double quotes, added override annotation #2592
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Oops, I assumed these changes were to the null safety article, but they're to older docs. |
Ah, the build break is just because the code was updated in the .md files but not the .dart files they auto-include from. E.g. the first snippet you changed was auto-included using the following, which means that the build will fail until we update
Do you have (or want to learn) the git knowledge to update this PR with the relevant Dart files, or would you like me to add to this PR? |
@domesticmouse can you take a look at the code? |
Code changes LGTM. I'll hold the proper approval until the changes are migrated to the relevent Dart files =) |
I actually wanted to make the changes in the null safety page but that page was too long for my first edit. So, I decided to edit the current page.
I forgot to make the changes in the .dart file.
I have no knowledge of it, but would love to learn that. I have a confusion though. Let's see there are 5 code changes made by me in the .md file and those 5 code snippets belong to 5 different |
If you have a local copy of the git repo, and you have the build working, then you only update the code in the .dart files, and then run a tool to update the .md file. But getting the build to work locally takes time, and some people never get it to work due to local configuration issues. I'll be happy to make the changes locally and upload them to this PR. |
I don't have a local copy, and I am sure I'd be one of those.
How nice of you! And, does it mean that the next time I make some changes in any of the Dart documentation by editing .md file only, I'll eligible to create a corresponding PR and you guys can do the local build on your own? (I mean is it OK to leave that part for you people or am I supposed to update the .dart files anyhow?) |
Yes, it's fine, at least for now. Getting good fixes in trumps inconvenience right now. I'm hoping that, over time, we'll make it easier to update code and/or we'll get help from more people who are comfortable building the site. |
I'm starting on this now. |
Woot! Tests are passing! (The beta build broke, but that's allowed, and I'll try fixing that separately.) |
@Kathy
Quoting [this page](
https://dart.dev/guides/language/sound-problems#static-errors-and-warnings)
The first solution (explicit type declaration) won't work after NNBD
arrival, so shall we remove this solution altogether from docs or wait for
NNBD to come in the stable version?
…On Fri, Aug 28, 2020 at 9:28 PM Kathy Walrath ***@***.***> wrote:
Merged #2592 <#2592> into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2592 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APSZ72LVROLI7OUUGJHBLW3SC7H3TANCNFSM4QIFQWJA>
.
|
@iLoveDocs We should add a comment about the first solution not working under null safety. (See #2621 (comment) for a proposal.) |
.
at the end of comment (according to Dart comment style).These are not the major changes in any way, but it is my first PR, so not sure how to do a pull request, I'll surely be able to make some significant changes in other pages of Dart once I realise how things work.