Skip to content

Commit

Permalink
Update vyper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Aug 16, 2024
1 parent dcdd39f commit 4fa83d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions brownie/project/compiler/vyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ def _generate_coverage_data(
if not opcodes_str:
return {}, {}, {}

if not isinstance(source_map_str, str):
raise TypeError(source_map_str) from None

source_map = deque(expand_source_map(source_map_str))
opcodes = deque(opcodes_str.split(" "))

Expand Down

0 comments on commit 4fa83d8

Please sign in to comment.