Skip to content
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

New object instance string concat #502

Closed
objeck opened this issue Sep 7, 2024 · 1 comment
Closed

New object instance string concat #502

objeck opened this issue Sep 7, 2024 · 1 comment
Assignees
Labels

Comments

@objeck
Copy link
Owner

objeck commented Sep 7, 2024

The code below produces an unnecessary call to ToString() returning the instance address instead of the string value.

class Test {
	function : Main(args : String[]) ~ Nil {
		a := System.Time.Date->New()->ToString() + "\n\t";
		a->PrintLine();
	}
}
@objeck objeck self-assigned this Sep 7, 2024
@objeck objeck added the bug label Sep 7, 2024
objeck added a commit that referenced this issue Sep 7, 2024
objeck added a commit that referenced this issue Sep 7, 2024
@objeck
Copy link
Owner Author

objeck commented Sep 20, 2024

Closed with v2024.9.0

@objeck objeck closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant