Skip to content

Compile Time error :: max(int64, int64) returns a number not a int64 #8021

@tinkerer-red

Description

@tinkerer-red

Description

I would imagine that many of the other compile time ready math expressions would suffer from a similar issue.

Expected Change

No response

Steps To Reproduce

var _a1 = 0x1122334455667788;
var _a2 = 0x8877665544332211;
var _a3 = 0x7FFFFFFFFFFFFFFF;
var _a4 = 0x5566778811223344;
show_debug_message(typeof(max(_a1, _a2, _a3, _a4)))
show_debug_message(typeof(max(0x1122334455667788, 0x8877665544332211, 0x7FFFFFFFFFFFFFFF, 0x5566778811223344)))

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2024.8.1 (Monthly), 2022.0.2 (LTS)

Which operating system(s) are you seeing the problem on?

Windows 10

Are you running GameMaker from inside your Steam library?

None

Sample Package Attached?

  • I have attached my bug package

Sample Project Added?

  • I have included a small sample project

Metadata

Metadata

Labels

ide-bugBugs with the GameMaker IDE

Type

No type
No fields configured for issues without a type.

Projects

Status

Verified

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions