diem / diem/move

[Bug] [compiler] confusing error message when hexadecimal word is expected

Open
#133 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
378
Forks
137
PR merge metrics
No merged PRs in 30d

Description

# 🐛 Bug

## To reproduce

**Code snippet to reproduce**
Screen Shot 2022-03-17 at 12 33 02 PM

**Stack trace/error message**
Screen Shot 2022-03-17 at 12 33 47 PM

## Expected Behavior

Error message should tell me that hexadecimal is expected

## System information

**Please complete the following information:**
Mac OS 12.2.1

Contributor guide

Open the contributing guide

Research direction

Start by recovering the reproduction code and compiler error from the issue's linked screenshots, then locate the compiler path that parses the hexadecimal word. Check existing compiler tests for this diagnostic and confirm that the completed change explicitly says hexadecimal is expected without altering unrelated errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.