Skip to content

Getvar variant for 6.0 removed#1050

Merged
kushti merged 5 commits intov6.0.0from
v6.0.0-getvar-fix
Apr 10, 2025
Merged

Getvar variant for 6.0 removed#1050
kushti merged 5 commits intov6.0.0from
v6.0.0-getvar-fix

Conversation

@kushti
Copy link
Copy Markdown
Member

@kushti kushti commented Jan 13, 2025

In this PR, Context.getVar got removed, as having method with the same id but different behavior is not supported by clients < 6.0.

Another option was to introduce a new method with different id, but I guess new method Context.getVarFromInput() would be enough (in conjuction with selfIndex when read from self is required)

@kushti kushti requested a review from aslesarenko January 30, 2025 08:31
val c3 = stypeToElem(typeSubst.apply(tT))
ctx.getVar(c2)(c3)
case SContextMethods.getVarFromInputMethod.name =>
case SContextMethods.getVarFromInputMethod.name if VersionContext.current.isV6SoftForkActivated =>
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.

Needs rebase to new versioning scheme?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated

@kushti kushti merged commit eda89e5 into v6.0.0 Apr 10, 2025
10 of 16 checks passed
@kushti kushti deleted the v6.0.0-getvar-fix branch April 10, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants