Skip to content

Add 0.15 release notes for function reflection #1768

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

Merged

Conversation

@MrGVSV MrGVSV force-pushed the mrgvsv/notes/function-reflection branch from a57265c to ad6897f Compare November 3, 2024 19:33
@MiniaczQ
Copy link
Contributor

MiniaczQ commented Nov 3, 2024

I didn't see anything about overloading, will that be in separate notes or did that not land?

@alice-i-cecile
Copy link
Member

Overloading didn't land IIRC.

@MrGVSV
Copy link
Member Author

MrGVSV commented Nov 4, 2024

Overloading didn't land IIRC.

Yeah unfortunately. But not too big a deal since that at least gives us more time to test it out.

I did briefly mention it in the Limitations section, but I forgot to link to the PR. I'll be sure to do that!

Comment on lines +99 to +105
Using `FunctionInfo`, a `DynamicFunction` will print out its signature when debug-printed.

```rust
dbg!(String::len.into_function());
// Outputs:
// DynamicFunction(fn alloc::string::String::len(_: &alloc::string::String) -> usize)
```
Copy link
Member Author

Choose a reason for hiding this comment

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

Just added this because I think it's really cool we can still print out the full signature, but let me know if it's too much to include for the release post.

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Nov 5, 2024
Merged via the queue into bevyengine:main with commit 5fb7cf8 Nov 5, 2024
10 checks passed
@MrGVSV MrGVSV deleted the mrgvsv/notes/function-reflection branch November 5, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants