Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Discover and integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
scala
/
scala3
Public
Notifications
You must be signed in to change notification settings
Fork
1.1k
Star
6.1k
Code
Issues
1.7k
Pull requests
184
Discussions
Actions
Projects
1
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security
Insights
Code
Update -Yindent-colons functionality
#11752
Code
Merged
odersky
merged 14 commits into
scala:master
scala/scala3:master
from
dotty-staging:fix-indent-colon
dotty-staging/dotty:fix-indent-colon
Copy head branch name to clipboard
Mar 24, 2021
Conversation
Commits
14
(14)
Checks
Files changed
Merged
Update -Yindent-colons functionality
#11752
odersky
merged 14 commits into
scala:master
scala/scala3:master
from
dotty-staging:fix-indent-colon
dotty-staging/dotty:fix-indent-colon
Copy head branch name to clipboard
Commits
Commits on Mar 18, 2021
Accept more `:` at EOLs under -Yindent-colon
Show description for 1d07c11
odersky
committed
1d07c11
Copy full SHA for 1d07c11
Disallow `:` after return
Show description for 20d2e2a
odersky
committed
20d2e2a
Copy full SHA for 20d2e2a
Replace -Yindent-colons with language import
Show description for cd01d25
odersky
committed
cd01d25
Copy full SHA for cd01d25
Drop -Yindent-colons in CB
odersky
committed
e80a192
Copy full SHA for e80a192
Use isArrow utility method in Parser
odersky
committed
53928a9
Copy full SHA for 53928a9
Generalize TokenData#isOperator
odersky
committed
2093b93
Copy full SHA for 2093b93
Add closure arguments, first version
odersky
committed
dbfde1c
Copy full SHA for dbfde1c
Enable closure arguments only under fewerBracesEnabled
odersky
committed
a57134e
Copy full SHA for a57134e
Commits on Mar 19, 2021
Allow to retract to new column if next token is `:`
Show description for db19cfd
odersky
committed
db19cfd
Copy full SHA for db19cfd
Disallow `:` after infix operators
Show description for 0bd9739
odersky
committed
0bd9739
Copy full SHA for 0bd9739
Improve error recovery after illegal `:`
Show description for e5fd587
odersky
committed
e5fd587
Copy full SHA for e5fd587
More tests
odersky
committed
0c57527
Copy full SHA for 0c57527
Augment returns test
odersky
committed
8cd6337
Copy full SHA for 8cd6337
Revert "Disallow `:` after infix operators"
Show description for 9fd873c
odersky
committed
9fd873c
Copy full SHA for 9fd873c
You can’t perform that action at this time.