-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Clarify rules around `Self` and `.Self` | ||
|
||
<!-- | ||
Part of the Carbon Language project, under the Apache License v2.0 with LLVM | ||
Exceptions. See /LICENSE for license information. | ||
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
--> | ||
|
||
[Pull request](https://github.com/carbon-language/carbon-lang/pull/2107) | ||
|
||
<!-- toc --> | ||
|
||
## Table of contents | ||
|
||
- [Problem](#problem) | ||
- [Background](#background) | ||
- [Proposal](#proposal) | ||
- [Details](#details) | ||
- [Rationale](#rationale) | ||
- [Alternatives considered](#alternatives-considered) | ||
|
||
<!-- tocstop --> | ||
|
||
## Problem | ||
|
||
TODO: What problem are you trying to solve? How important is that problem? Who | ||
is impacted by it? | ||
|
||
## Background | ||
|
||
TODO: Is there any background that readers should consider to fully understand | ||
this problem and your approach to solving it? | ||
|
||
## Proposal | ||
|
||
TODO: Briefly and at a high level, how do you propose to solve the problem? Why | ||
will that in fact solve it? | ||
|
||
## Details | ||
|
||
TODO: Fully explain the details of the proposed solution. | ||
|
||
## Rationale | ||
|
||
TODO: How does this proposal effectively advance Carbon's goals? Rather than | ||
re-stating the full motivation, this should connect that motivation back to | ||
Carbon's stated goals and principles. This may evolve during review. Use links | ||
to appropriate sections of [`/docs/project/goals.md`](/docs/project/goals.md), | ||
and/or to documents in [`/docs/project/principles`](/docs/project/principles). | ||
For example: | ||
|
||
- [Community and culture](/docs/project/goals.md#community-and-culture) | ||
- [Language tools and ecosystem](/docs/project/goals.md#language-tools-and-ecosystem) | ||
- [Performance-critical software](/docs/project/goals.md#performance-critical-software) | ||
- [Software and language evolution](/docs/project/goals.md#software-and-language-evolution) | ||
- [Code that is easy to read, understand, and write](/docs/project/goals.md#code-that-is-easy-to-read-understand-and-write) | ||
- [Practical safety and testing mechanisms](/docs/project/goals.md#practical-safety-and-testing-mechanisms) | ||
- [Fast and scalable development](/docs/project/goals.md#fast-and-scalable-development) | ||
- [Modern OS platforms, hardware architectures, and environments](/docs/project/goals.md#modern-os-platforms-hardware-architectures-and-environments) | ||
- [Interoperability with and migration from existing C++ code](/docs/project/goals.md#interoperability-with-and-migration-from-existing-c-code) | ||
|
||
## Alternatives considered | ||
|
||
TODO: What alternative solutions have you considered? |