Skip to content

Instantly share code, notes, and snippets.

Created 2019-02-08T18:13:02.112Z
https://github.com/AugurProject/augur
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
JavaScript 949 14160 24204 118573
JSON 78 0 0 83236
JSX 187 2409 216 27000
TypeScript 245 2381 244 19368
contract Inconsistency {
struct Value {
uint badnum;
uint number;
}
struct Container {
uint[] valueIndices;
Value[] values;
@chejazi
chejazi / gist:c37a8c00485750fadf28
Last active August 29, 2015 14:13
Test the priority of __str__ vs __repr__ in string coercion
class Foo(object):
def __init__(self):
noop = True
def __repr__(self):
return "using __repr__"
def __str__(self):
return "using __str__"