Skip to content

Spec strings: first implementation - #26486

Merged
bracevac merged 5 commits into
scala:mainfrom
dotty-staging:spec-strings
Jul 17, 2026
Merged

bracevac merged 5 commits into
scala:mainfrom
dotty-staging:spec-strings

Conversation

@odersky

@odersky odersky commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

import dotty.tools.dotc.reporting.{Diagnostic, Reporter}
import dotty.tools.dotc.printing.Formatting.ShownDef.Shown.runCtxShow

/** Spec strings a representation of programmer's intent that guides

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.

Missing "are". This should be "Spec strings are a representation"

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.

Thanks!

@odersky
odersky force-pushed the spec-strings branch 4 times, most recently from a0ca288 to e955117 Compare July 7, 2026 15:35
@odersky
odersky requested a review from bracevac July 9, 2026 13:45
@bracevac bracevac assigned odersky and unassigned bracevac Jul 13, 2026
@odersky odersky assigned bracevac and unassigned odersky Jul 16, 2026
odersky added 5 commits July 17, 2026 10:35
To do:

 - Type checking
 - Treating as types instead of expressions
 - Triple quotes
 - Support multi-line
 - Typecheck as well as parse
 - Support types and expressions
@bracevac

Copy link
Copy Markdown
Member

Wow! It's magic!

@bracevac
bracevac merged commit 34dd1af into scala:main Jul 17, 2026
57 of 59 checks passed
@bracevac
bracevac deleted the spec-strings branch July 17, 2026 09:56
@bracevac bracevac added the release-notes Should be mentioned in the release notes label Jul 17, 2026
@WojciechMazur WojciechMazur added this to the 3.10.0 milestone Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes Should be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants