Skip to content

Reflect the abstract type scenario more precisely in LRM#169

Merged
SurajBDeore merged 1 commit intomainfrom
add-abstract-type-trace
Mar 3, 2026
Merged

Reflect the abstract type scenario more precisely in LRM#169
SurajBDeore merged 1 commit intomainfrom
add-abstract-type-trace

Conversation

@mugdhadhole1
Copy link
Contributor

@mugdhadhole1 mugdhadhole1 commented Mar 3, 2026

Scenarios to consider:

  1. Abstract type without object and without extension: covered by linter, now also specified as implementation recommendation in the LRM.
  2. Abstract type + extension: covered by LRM, neither warning nor error shall be emitted.
  3. Abstract type + object: covered by LRM, error expected.

LRM now reflects the above scenarios more precisely through an implementation recommendation.
System tests and traces have been added.

@mugdhadhole1 mugdhadhole1 added the topic: LRM Affects the Language Reference Manual label Mar 3, 2026
@mugdhadhole1 mugdhadhole1 force-pushed the add-abstract-type-trace branch from 4fac8fd to 263cce7 Compare March 3, 2026 12:46
@mugdhadhole1 mugdhadhole1 requested a review from a team as a code owner March 3, 2026 12:46
Scenarios to consider:
1. Abstract type without object and without extension:
   covered by linter, now also specified as implementation recommendation in the LRM.
2. Abstract type + extension:
   covered by LRM, neither warning nor error shall be emitted.
3. Abstract type + object:
   covered by LRM, error expected.

LRM now reflects the above scenarios more precisely through an implementation recommendation.
System tests and traces have been added.
@mugdhadhole1 mugdhadhole1 force-pushed the add-abstract-type-trace branch from 263cce7 to 8bd8085 Compare March 3, 2026 12:50
Copy link
Contributor

@SurajBDeore SurajBDeore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this change

@SurajBDeore SurajBDeore enabled auto-merge (squash) March 3, 2026 12:52
@SurajBDeore SurajBDeore merged commit 536c4c6 into main Mar 3, 2026
20 checks passed
@SurajBDeore SurajBDeore deleted the add-abstract-type-trace branch March 3, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: LRM Affects the Language Reference Manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants