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

RFC FS-1108 - Undentation frenzy (formatting changes) #11789

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/fsharp/FSComp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,7 @@ featureDefaultInterfaceMemberConsumption,"default interface member consumption"
featureStringInterpolation,"string interpolation"
featureWitnessPassing,"witness passing for trait constraints in F# quotations"
featureStructActivePattern,"struct representation for active patterns"
featureRelaxWhitespace2,"whitespace relaxation v2"
3353,fsiInvalidDirective,"Invalid directive '#%s %s'"
3360,typrelInterfaceWithConcreteAndVariable,"'%s' cannot implement the interface '%s' with the two instantiations '%s' and '%s' because they may unify."
3361,typrelInterfaceWithConcreteAndVariableObjectExpression,"You cannot implement the interface '%s' with the two instantiations '%s' and '%s' because they may unify."
Expand Down
3 changes: 3 additions & 0 deletions src/fsharp/LanguageFeatures.fs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type LanguageFeature =
| SingleUnderscorePattern
| WildCardInForLoop
| RelaxWhitespace
| RelaxWhitespace2
| NameOf
| ImplicitYield
| OpenTypeDeclaration
Expand Down Expand Up @@ -80,6 +81,7 @@ type LanguageVersion (specifiedVersionAsString) =
LanguageFeature.StringInterpolation, languageVersion50

// F# preview
LanguageFeature.RelaxWhitespace2, previewVersion
LanguageFeature.OverloadsForCustomOperations, previewVersion
LanguageFeature.ExpandedMeasurables, previewVersion
LanguageFeature.FromEndSlicing, previewVersion
Expand Down Expand Up @@ -147,6 +149,7 @@ type LanguageVersion (specifiedVersionAsString) =
| LanguageFeature.SingleUnderscorePattern -> FSComp.SR.featureSingleUnderscorePattern()
| LanguageFeature.WildCardInForLoop -> FSComp.SR.featureWildCardInForLoop()
| LanguageFeature.RelaxWhitespace -> FSComp.SR.featureRelaxWhitespace()
| LanguageFeature.RelaxWhitespace2 -> FSComp.SR.featureRelaxWhitespace2()
| LanguageFeature.NameOf -> FSComp.SR.featureNameOf()
| LanguageFeature.ImplicitYield -> FSComp.SR.featureImplicitYield()
| LanguageFeature.OpenTypeDeclaration -> FSComp.SR.featureOpenTypeDeclaration()
Expand Down
1 change: 1 addition & 0 deletions src/fsharp/LanguageFeatures.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type LanguageFeature =
| SingleUnderscorePattern
| WildCardInForLoop
| RelaxWhitespace
| RelaxWhitespace2
| NameOf
| ImplicitYield
| OpenTypeDeclaration
Expand Down
528 changes: 317 additions & 211 deletions src/fsharp/LexFilter.fs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">uvolnění prázdných znaků</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">obnovitelné stavové stroje</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">Lockerung für Leerraum</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">Fortsetzbarer Zustand-Maschinen</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">relajación de espacio en blanco</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">máquinas de estado reanudables</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">assouplissement de la mise en retrait avec des espaces blancs</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">ordinateurs d’état pouvant être repris</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">uso meno restrittivo degli spazi vuoti</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">macchine a stati ripristinabili</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">空白の緩和</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">再開可能なステート マシン</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">공백 완화</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">다시 시작 가능한 상태 시스템</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">rozluźnianie reguł dotyczących odstępów</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">automaty stanów z możliwością wznowienia</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">atenuação de espaço em branco</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">máquinas de estado retomável</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">уменьшение строгости для пробелов</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">возобновляемые конечные автоматы</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.tr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">boşluk genişlemesi</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">sürdürülebilir durum makineleri</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">空格松弛法</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">可恢复状态机</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.zh-Hant.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<target state="translated">空白字元放寬</target>
<note />
</trans-unit>
<trans-unit id="featureRelaxWhitespace2">
<source>whitespace relaxation v2</source>
<target state="new">whitespace relaxation v2</target>
<note />
</trans-unit>
<trans-unit id="featureResumableStateMachines">
<source>resumable state machines</source>
<target state="translated">可繼續的狀態機器</target>
Expand Down
Loading