2025-04-21 — Last Week in Carbon #5339
josh11b
announced in
Last Week in Carbon
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Updates on leads issues
impl fn
creates a parse ambiguity, and the aspiration to model overriding in terms of interface-implementation hasn't borne fruit.abstract override fn
instead ofabstract impl fn
).extend
andfinal
, but it seems to have valid use cases. Should we allow it?Updates on proposals
extend api
extend alias
instead?impl
declaration of an incomplete interfaceUpdates on moderation across our community spaces (Discord and GitHub)
Activity on toolchain
var
patternsCheck::GetOrAddInst()
and implicit instructions, as a result of recentLocId
changesfind_if
return? MadeFindOrNull
andFindIfOrNull
that returns a pointer to the found element or nullptr, but there are some concerns about UB if the pointer is dereferenced without checking if it is null first.class
) scope nested within a function scopepackage.
... name in a non-package scope.Other active discussions
These include Discord Chat, GitHub Discussions, or open discussion sessions.
Noop
/noop
or "no-op"/NoOp
/no_op
?TEST_TMPDIR
to be set.extend
in an interface (prompted by #5168)extend B
ininterface A
requires types that implementA
to also (separately) implementB
.A
with the same names/signatures as the methods ofB
, so types that implementA
have to implement the methods ofB
as part of the implementation ofA
.final impl forall [T:! B] T as A
, forwarding the methods ofA
to the methods ofB
final impl
could conflict with otherimpl
s under our current rules, so we're considering changing the rules:impl
s that overlap, we only reject queries that overlap (which could be resolved by manually prioritizing, e.g. withmatch_first
).impl
s, but we think we can make progress.RSS Feed for "Last Week in Carbon" here
Beta Was this translation helpful? Give feedback.
All reactions