Title: Change instance variable numbers for line numbers instead of counter · Issue #132 · liquid-java/liquidjava · GitHub
Open Graph Title: Change instance variable numbers for line numbers instead of counter · Issue #132 · liquid-java/liquidjava
X Title: Change instance variable numbers for line numbers instead of counter · Issue #132 · liquid-java/liquidjava
Description: Whenever we are creating a new instance of a variable or a fresh one, we keep the variable name and concatenate it with an incremental counter (e.g., a0, x1, y2). A simple change would be to use the line number where this value was intro...
Open Graph Description: Whenever we are creating a new instance of a variable or a fresh one, we keep the variable name and concatenate it with an incremental counter (e.g., a0, x1, y2). A simple change would be to use th...
X Description: Whenever we are creating a new instance of a variable or a fresh one, we keep the variable name and concatenate it with an incremental counter (e.g., a0, x1, y2). A simple change would be to use th...
Opengraph URL: https://github.com/liquid-java/liquidjava/issues/132
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change instance variable numbers for line numbers instead of counter","articleBody":"Whenever we are creating a new instance of a variable or a fresh one, we keep the variable name and concatenate it with an incremental counter (e.g., a0, x1, y2).\nA simple change would be to use the line number where this value was introduced, instead of the counter.\nExample:\n\n\u003cimg width=\"825\" height=\"505\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8e561894-7528-43e7-b35b-cfa00b907812\" /\u003e\n\nThe error could be `#x_25 == #x_24 - 10` where `24` and `25` are the lines where these were introduced.\nA question could be, if multiple vars are changed could we still use the same tactic? Lets try and make some tests to see.","author":{"url":"https://github.com/CatarinaGamboa","@type":"Person","name":"CatarinaGamboa"},"datePublished":"2025-12-10T16:28:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/132/liquidjava/issues/132"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6e15eb06-382d-46df-d204-3f4f480e11cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C49C:12CC5:298C947:39AF1A2:6A632F48 |
| html-safe-nonce | b605c88f28e3b6534246cc8e8557c740b686982c3c52ec73a8356647234305c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDlDOjEyQ0M1OjI5OEM5NDc6MzlBRjFBMjo2QTYzMkY0OCIsInZpc2l0b3JfaWQiOiI3NDcxMjIyNDI2MzgxMjY2NzYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d0661f5a38705640e48f8b13cdfe18b455e3d09dabdc3c63ac59527091e1b2c4 |
| hovercard-subject-tag | issue:3715932229 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/liquid-java/liquidjava/132/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d5f453becd33c985388f17001a13cef0c59feab8675fc344c567d5377cab015e/liquid-java/liquidjava/issues/132 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d5f453becd33c985388f17001a13cef0c59feab8675fc344c567d5377cab015e/liquid-java/liquidjava/issues/132 |
| og:image:alt | Whenever we are creating a new instance of a variable or a fresh one, we keep the variable name and concatenate it with an incremental counter (e.g., a0, x1, y2). A simple change would be to use th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CatarinaGamboa |
| hostname | github.com |
| expected-hostname | github.com |
| None | df6e1c2adcceb061ec8c4106a1b34f38280f08e13f2b195c661c202834cbc3b1 |
| turbo-cache-control | no-preview |
| go-import | github.com/liquid-java/liquidjava git https://github.com/liquid-java/liquidjava.git |
| octolytics-dimension-user_id | 242831829 |
| octolytics-dimension-user_login | liquid-java |
| octolytics-dimension-repository_id | 258218369 |
| octolytics-dimension-repository_nwo | liquid-java/liquidjava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 258218369 |
| octolytics-dimension-repository_network_root_nwo | liquid-java/liquidjava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 822a0ff2a479845adcdd40a1a7b1734a56e05818 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width