Skip to content

Comments

fix: update deprecated syntax#2

Open
peter-jerry-ye wants to merge 1 commit intoFlyCloudC:masterfrom
peter-jerry-ye:ai-fix-1765276839310
Open

fix: update deprecated syntax#2
peter-jerry-ye wants to merge 1 commit intoFlyCloudC:masterfrom
peter-jerry-ye:ai-fix-1765276839310

Conversation

@peter-jerry-ye
Copy link

  • Convert deprecated method syntax from 'fn meth(self : Type, ..)' to 'fn Type::meth(self : Type, ..)' in build.mbt, eval_and_diff.mbt
  • Convert deprecated typealias syntax from 'typealias Type as Alias' to 'type Alias = Type' in types.mbt files
  • Convert deprecated typealias import from 'typealias @Tape.(Tape, Loc)' to 'using @Tape {type Tape, type Loc}' in prims/types.mbt
  • Wrap multiline string in parentheses in test.mbt to fix deprecated syntax warning

- Convert deprecated method syntax from 'fn meth(self : Type, ..)' to 'fn Type::meth(self : Type, ..)' in build.mbt, eval_and_diff.mbt
- Convert deprecated typealias syntax from 'typealias Type as Alias' to 'type Alias = Type' in types.mbt files
- Convert deprecated typealias import from 'typealias @Tape.(Tape, Loc)' to 'using @Tape {type Tape, type Loc}' in prims/types.mbt
- Wrap multiline string in parentheses in test.mbt to fix deprecated syntax warning

Co-authored-by: openhands <openhands@all-hands.dev>
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