Skip to content

docs: Update GML_REFERENCE.md#1395

Merged
EttyKitty merged 5 commits into
mainfrom
EttyKitty-patch-1
Jul 26, 2026
Merged

docs: Update GML_REFERENCE.md#1395
EttyKitty merged 5 commits into
mainfrom
EttyKitty-patch-1

Conversation

@EttyKitty

@EttyKitty EttyKitty commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Summary by cubic

Consolidates built-in constants and special values into one categorized table in GML_REFERENCE.md and removes the old Core Constants section. Reorganizes variable docs into Variable Scope and Variable Categories with clearer self/other and static behavior.

  • Refactors
    • Split "Variables and Scope" into Variable Scope and Variable Categories; clarified name resolution (local → instance → global → built-in).
    • Expanded static: top-of-function initialization/hoisting, call-once requirement before external access, static_get/static_set, inheritance read vs write rules; recommend static methods in constructors with an inheritance example.
    • Added a context table for self and other.
    • Updated operators (++, --), function hoisting notes, and type checks (is_method, is_callable).

Written for commit 25d54ce. Summary will update on new commits.

Review in cubic

Updated the section on built-in constants and special values, consolidating information.
@github-actions github-actions Bot added Type: Docs Changes to documentation files Size: Tiny labels Jul 26, 2026
cubic-dev-ai[bot]
cubic-dev-ai Bot previously approved these changes Jul 26, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

cubic-dev-ai[bot]
cubic-dev-ai Bot previously approved these changes Jul 26, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

Updated terminology for variable kinds and added details on static variables and methods. Enhanced explanations for context keywords 'self' and 'other'.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread docs/GML_REFERENCE.md Outdated
Added detailed explanations for context keywords 'self' and 'other' in GML, including their behavior and usage in different scenarios.
@kilo-code-bot

kilo-code-bot Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • docs/GML_REFERENCE.md - Documentation only; no code changes to review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Auto-approval blocked by 1 unresolved issue from previous reviews.

Re-trigger cubic

Updated the structure and content of the GML reference documentation to clarify variable scope and categories.
@EttyKitty
EttyKitty merged commit 645d56f into main Jul 26, 2026
5 of 6 checks passed
@EttyKitty
EttyKitty deleted the EttyKitty-patch-1 branch July 26, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: Medium Type: Docs Changes to documentation files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant