Skip to content

spelling fixes (round 1)#6932

Merged
DanielRosenwasser merged 1 commit into
microsoft:masterfrom
jsoref:spelling
Feb 9, 2016
Merged

spelling fixes (round 1)#6932
DanielRosenwasser merged 1 commit into
microsoft:masterfrom
jsoref:spelling

Conversation

@jsoref

@jsoref jsoref commented Feb 5, 2016

Copy link
Copy Markdown
Contributor

(see commit message for list of changes)

@msftclas

msftclas commented Feb 5, 2016

Copy link
Copy Markdown

Hi @jsoref, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

@jsoref jsoref mentioned this pull request Feb 5, 2016
Comment thread src/compiler/checker.ts Outdated
const localTypeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);
// A class or interface is generic if it has type parameters or a "this" type. We always give classes a "this" type
// because it is not feasible to analyze all members to determine if the "this" type escapes the class (in particular,
// because it is not feasible to analyse all members to determine if the "this" type escapes the class (in particular,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This project is run from the United States so analyze is correct 😉

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I normally would use z, but there were more instances of s, so I favored it against my own preference. I'll gladly switch :-)

@RyanCavanaugh

Copy link
Copy Markdown
Member

Looks like you'll have to also run some of the fixes in types.ts so that this compiles

@jsoref

jsoref commented Feb 5, 2016

Copy link
Copy Markdown
Contributor Author

Offhand, it looks like all of the changes in types.ts are either related or comments, tentatively, I'll include the whole file.

@RyanCavanaugh

Copy link
Copy Markdown
Member

You'll have to take care of the downstream effects as well.

If jake local doesn't succeed, we can't accept the PR. Please see contributing.md.

Comment thread src/compiler/types.ts Outdated
// Stores a mapping 'external module reference text' -> 'resolved file name' | undefined
// It is used to resolve module names in the checker.
// Content of this fiels should never be used directly - use getResolvedModuleFileName/setResolvedModuleFileName functions instead
// Content of this fields should never be used directly - use getResolvedModuleFileName/setResolvedModuleFileName functions instead

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should just be 'field'

@sandersn

sandersn commented Feb 5, 2016

Copy link
Copy Markdown
Member

i don't see 'analyse' in the diff. Why is it on the list of corrections in the PR description?

@DanielRosenwasser

Copy link
Copy Markdown
Member

@sandersn the correction was from "analyze" to "analyse", but was reverted.

@sandersn

sandersn commented Feb 5, 2016

Copy link
Copy Markdown
Member

So it was in the previous PR? There's only one commit on this one.

@RyanCavanaugh

Copy link
Copy Markdown
Member

Presumably there was a force push

@jsoref jsoref changed the title spelling fixes for src/compiler/checker.ts spelling fixes (round 1) Feb 8, 2016
@jsoref

jsoref commented Feb 9, 2016

Copy link
Copy Markdown
Contributor Author

@RyanCavanaugh : the tests now pass, hopefully this is closer to what you want.

@sandersn

sandersn commented Feb 9, 2016

Copy link
Copy Markdown
Member

@jsoref can you keep commits in the future so I can diff before vs after? It makes reviewing much easier.

@sandersn

sandersn commented Feb 9, 2016

Copy link
Copy Markdown
Member

Looks good to me except for the incorrect fix "fields"

@yuit

yuit commented Feb 9, 2016

Copy link
Copy Markdown
Contributor

👍

* accessibility
* accessor
* annotate
* anything
* apply
* assignability
* collection
* conservatively
* constituent
* constructor
* containing
* contextual
* contributed
* declaration
* excessively
* exclusion
* field
* indistinguishable
* initializer
* intrinsic
* knowing
* noisiness
* occurred
* overridden
* parameter
* perspective
* properties
* property
* prototype
* rewritten
* specifies
* symbolFromSymbolTable
@jsoref

jsoref commented Feb 9, 2016

Copy link
Copy Markdown
Contributor Author

@sandersn : I've preserved it as https://github.com/jsoref/TypeScript/tree/spelling-1-1 which should hopefully keep it from going away.

@sandersn

sandersn commented Feb 9, 2016

Copy link
Copy Markdown
Member

👍

@DanielRosenwasser

Copy link
Copy Markdown
Member

Awesome - thanks @jsoref!

DanielRosenwasser added a commit that referenced this pull request Feb 9, 2016
@DanielRosenwasser DanielRosenwasser merged commit 30e1f83 into microsoft:master Feb 9, 2016
@jsoref jsoref deleted the spelling branch February 9, 2016 22:14
@jsoref

jsoref commented Feb 9, 2016

Copy link
Copy Markdown
Contributor Author

@sandersn : I presume I can now delete my spelling-1-1 branch?

My next step is to try to repeat this process with a new spelling branch #6988

@sandersn

sandersn commented Feb 9, 2016

Copy link
Copy Markdown
Member

Yep, go ahead. Looking forward to seeing more spelling fixes. :)

Comment thread src/compiler/checker.ts
});

// ECMA-262 11.1.5 Object Initialiser
// ECMA-262 11.1.5 Object Initializer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it 11.1.5?

It's not, according to the ECMA web site

12.2.6 Object Initializer
NOTE 1 An object initializer is an expression describing the initialization of an Object, written in a form resembling a literal. It is a list of zero or more pairs of property keys and associated values, enclosed in curly brackets. The values need not be literals; they are evaluated each time the object initializer is evaluated.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Happy to fix that, but it's not a spelling mistake. And amusingly, I've at least (accidentally) fixed the spelling to match the spec... (I wonder how it got out of sync...)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Filed #7009

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
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.

7 participants