Skip to content

Add InstallDeprecatedMethod #742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

devansh2605
Copy link

@james-d-mitchell james-d-mitchell added the new-feature A label for new features. label Apr 7, 2025
@james-d-mitchell
Copy link
Member

Thanks @devansh2605, can you please fix the linting, and then we can proceed to a proper review.

@james-d-mitchell james-d-mitchell added the waiting for creator input A label for issues/PRs where we are waiting for the creator to do something label Apr 7, 2025
return func(a, b, c, d, e, f);
end;
else
Error("Unsupported args: ", args);
Copy link
Member

Choose a reason for hiding this comment

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

You could just do:

newMethod := function(args...)
  Warning(warningMsg);
   return CallFuncList(fun, args);
end;

Copy link
Member

Choose a reason for hiding this comment

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

Ah this doesn't work, hmmm

Copy link
Author

Choose a reason for hiding this comment

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

@james-d-mitchell sir, should I update this to your suggestion or try an alternative route? Or is the current implementation correct?

@devansh2605
Copy link
Author

@james-d-mitchell I have fixed the linting as well, pls let me know if any other modifications are required.

@mtorpey
Copy link
Collaborator

mtorpey commented Apr 23, 2025

I've had a look at this – looks like you've put some work in, but at the moment there are quite a few syntax errors and it's not loading up. Why don't we shelve this for now while you work on other issues? I'll leave the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A label for new features. waiting for creator input A label for issues/PRs where we are waiting for the creator to do something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants