dis-bench / eval /examples /fail_generator.py
meddyrat's picture
Update from corrected local artifact
1911aea verified
Raw History Blame Contribute Delete
275 Bytes
def generate_buf():
# An empty JavaScript object literal {} will trigger the target branch:
# After the parser consumes the opening '{', the next lookahead is '}'
# which satisfies the condition J->lookahead == '}' at the start of objectliteral()
return b"{}"