-
Notifications
You must be signed in to change notification settings - Fork 79
Let's review pending changes #79
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
Changes from 81 commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
3752890
Pass webpack build mode through gradle parameters
petukhovv 78516c8
Replace hardcoded mode to defined by url's get parameter one
petukhovv a484d2e
Turn Compatitiblity chapter into a paragraph
zarechenskiy c2b017c
Fix paragraph about Compatibility
zarechenskiy f1445ac
exclude compatibility section to load tests
stasjas ddf3529
Fix typo in Reload tests button label
Egorand 2d5a7ca
Change formal argument -> formal parameter to disambiguate even more
ice-phoenix 8875691
Add a note about PRs should be based on develop branch
ice-phoenix d238f9c
Bare types sketch
belyaev-mikhail 391cc92
Some clarifications about data class generated function explicificati…
ice-phoenix fd4d3c3
Fix typo
ice-phoenix f740a26
Some rewriting on the bare type syntax
belyaev-mikhail f5168dc
Fix typo
ice-phoenix 86b8a4b
Some details of how `val`/`var` properties work (#59)
ice-phoenix 08c736a
Add TODO about funky Kotlin script file scope
ice-phoenix 3ad1613
Add a note about only inner classes being allowed in object literals
ice-phoenix 1733307
Fix typo
ice-phoenix 5c5762d
Clarifications on where inner classes are and are not allowed
ice-phoenix 4c478b2
Better wording
ice-phoenix 79c093a
kotlin.Annotation is an interface
belyaev-mikhail e935d1c
Fix broken link
belyaev-mikhail e18cc50
Contracts draft
belyaev-mikhail 71acc44
Inline classes draft
belyaev-mikhail 7302377
First example for type capturing
ice-phoenix c5811dc
More type capturing examples
ice-phoenix e71b05d
Smart casts: change Direct assignments to Simple assignments
ice-phoenix 0870b5f
Fixing Unicode problems in PDF
ice-phoenix d35e0c2
Fix sentence-finder-bar style in Dev mode
stasjas cf9a626
Improve header bar style in dev mode
stasjas 8be83b6
Disable kotlin core section link in toc
stasjas 14e1079
@Experimental machinery -> @OptIn machinery
belyaev-mikhail 93ee5af
Add example with recursive types and type capturing
ice-phoenix 8e429c5
BuilderInference sketch
belyaev-mikhail 75bea9b
`kotlin.RestrictSuspension` + fix broken link
ice-phoenix 9d3da3f
Undefined behaviour -> unspecified behaviour
belyaev-mikhail 5d3b96c
Start transferring external knowledge about coroutines to the spec
ice-phoenix 34171bb
Add TODO about GLB/LUB and flexible types and intersection with Any
ice-phoenix 12d04d6
Introduce sectionsTestMap loading to load only existing testMaps
stasjas 3c42b3f
Fix "Inconsistent formatting for rule alternatives" (fix #36), "Get r…
KvanTTT 62ce460
Describe continuation interception
ice-phoenix cb0ae78
\eq -> =:=
ice-phoenix a618173
Some examples and details for enum classes
belyaev-mikhail b33ccef
Fix a link in the grammar README.md
martinbonnin ec87a64
Merge pull request #66 from martinbonnin/patch-1
ice-phoenix a5054d2
Add JVM-specific note on array types not allowed as upper bounds in t…
ice-phoenix c432195
Clarifications about default argument evaluation order for #67
ice-phoenix 8e6244e
Further clarifications for #67
ice-phoenix 928a9a0
Switching from SVN to git sparse-checkout for grammar tests
ice-phoenix ccfc472
Bump gradle-intellij-plugin version to 0.4.26
ice-phoenix dd4871f
Make :grammar:compileKotlin depend on :grammar:generateGrammarSource
ice-phoenix 0da8da4
Down-bump gradle-intellij-plugin version to 0.4.13
ice-phoenix fb71e41
Down-bump gradle-intellij-plugin version to 0.4.6
ice-phoenix 69444b5
Down-bump gradle wrapper version to 5.3
ice-phoenix bcd0b64
Down-bump versions some more
ice-phoenix e4f775f
Revert gradle-intellij-plugin version to 0.4.1
ice-phoenix aea7942
Attempt 2: fixing IntelliJ version to 2020.2 to avoid Java 11 require…
ice-phoenix a8cf9bc
Re-enable grammar tests
ice-phoenix 79b942e
Fix for grammar testData dir copy
ice-phoenix 71ae6d1
Add fresh antlrtree.txt files
ice-phoenix 7c2aab4
Drop obsolete antlrtree.txt files after syncWithCompilerTests
ice-phoenix 044a042
Green grammar tests
belyaev-mikhail 8f73578
Add sealed interfaces and update when expression exhaustiveness rules
ice-phoenix ba9f417
Fix GLB -> LUB in type decaying
ice-phoenix d61db06
Add note about the least single common supertype in type approximation
ice-phoenix 0cc23be
Drop SVN dependency from grammar README.md
ice-phoenix 58fe6f2
Updates for 1.5: inline classes -> value classes
belyaev-mikhail 83066e8
Updates for 1.5: value classes in grammar
belyaev-mikhail 4d983db
Prepare for bintray EOL: remove most of bintray dependencies
belyaev-mikhail dcea4f1
Fix CI build
belyaev-mikhail 6730c24
Fix test data for the grammar change
belyaev-mikhail 950e096
Add UnsignedLiteral to syntax.md
SmelJey a9e2849
Fix order of suffixes in UnsignedLiteral
SmelJey 254bdfc
Merge pull request #72 from SmelJey/develop
belyaev-mikhail eb8a999
Compound expansion sketch (see https://youtrack.jetbrains.com/issue/K…
belyaev-mikhail f89e130
Merge remote-tracking branch 'origin/develop' into develop
belyaev-mikhail b8f1382
Fix typo
androiddevnotes b34ac3e
Merge pull request #75 from awesome-kotlin/develop
ice-phoenix 10d95ba
newlines are allowed in lineStringExpression closes #40 (#77)
drieks 41ba453
Fill the missing parts about async programming with coroutines for Ko…
ice-phoenix 3cee246
Add syncGrammarWithKotlinGrammarApache2Repo pseudo task
ice-phoenix 4152414
belyaev: release review
belyaev-mikhail e79140a
akhin: release review
ice-phoenix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ You have several options on how to contribute. | |
1. Make a [pull request](https://github.com/Kotlin/kotlin-spec/pulls) | ||
1. Drop an email to [Marat Akhin](mailto:[email protected]) or [Mikhail Belyaev](mailto:[email protected]) | ||
|
||
> Note: if doing a pull request, it should be based on the `develop` branch. | ||
|
||
In any of these cases, if we are talking about semantic changes to the specification, please try to include not only the improvements themselves, but also the reasoning on why you believe such a change is needed. | ||
|
||
> If we are talking about simple, but still very much appreciated improvements, e.g., fixing grammar, spelling or punctuation mistakes, no justification is required for those. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
This repository contains the specification of the [Kotlin programming language](https://kotlinlang.org), which describes how parts of the language should function *in more detail*, as compared to a more traditional user documentation on the [Kotlin Website](https://kotlinlang.org/docs/reference/). | ||
|
||
It would be most useful to those who are interested in how Kotlin works on a finer lever and how its features interoperate, e.g., language enthusiasts, compiler writers and Kotlin power-users. | ||
It would be most useful to those who are interested in how Kotlin works on a finer level and how its features interoperate, e.g., language enthusiasts, compiler writers and Kotlin power-users. | ||
However, if you are simply wondering, why some code you wrote works the way it does, this specification might help you get an answer to that. | ||
|
||
Currently, the specification covers only what we call *Kotlin/Core*: fundamental parts of Kotlin which should function the same way irregardless of the underlying platform. | ||
|
@@ -67,6 +67,8 @@ You can help us make the Kotlin specification better by one of the following way | |
1. Discuss the specification on the Kotlin [forums](https://discuss.kotlinlang.org/) | ||
1. Drop an email to [Marat Akhin](mailto:[email protected]) or [Mikhail Belyaev](mailto:[email protected]) with your suggestions | ||
|
||
> Note: if doing a pull request, it should be based on the `develop` branch. | ||
|
||
We welcome any and all feedback to the specification, but may tweak, change or iterate with you on the contribution before including it in the specification. | ||
|
||
Further details on how to contribute to the specification are available in [CONTRIBUTING.md](CONTRIBUTING.md). | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import at.phatbl.shellexec.ShellExec | ||
|
||
plugins { | ||
id("at.phatbl.shellexec") version "1.1.3" | ||
} | ||
|
@@ -108,3 +110,8 @@ tasks.create<Delete>("clean") { | |
|
||
delete("$projectDir/build") | ||
} | ||
|
||
tasks.create<ShellExec>("syncGrammarWithKotlinGrammarApache2Repo") { | ||
group = "internal" | ||
command = """echo -e Run the following command: git checkout release \&\& git subtree push --prefix grammar/src/main/antlr [email protected]:Kotlin/kotlin-grammar-apache2 release""" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.