Context
Minor README inconsistency that may confuse newbies checking their setup.
README shows
Code:
final result = await monty.run('2 + 2');
print(result.value); // 4
Then under "Run it":
Actual output
The code does `print(result.value)` which prints `4`, not `Result: 4`. The example/example.dart does `print('Result: ${result.value}')` which would print `Result: 4`, but that's not what the Quick Start code block shows.
Impact
- Newbie: "It printed 4, but the README says it should print Result: 4. Did I do something wrong?"
- Low severity but suggests the README wasn't tested end-to-end
Suggested fix
Change the "Run it" output to match the code:
Context
Minor README inconsistency that may confuse newbies checking their setup.
README shows
Code:
Then under "Run it":
Actual output
The code does `print(result.value)` which prints `4`, not `Result: 4`. The example/example.dart does `print('Result: ${result.value}')` which would print `Result: 4`, but that's not what the Quick Start code block shows.
Impact
Suggested fix
Change the "Run it" output to match the code: