Compare commits
1 Commits
v0.41.0
...
92660ef7de
| Author | SHA1 | Date | |
|---|---|---|---|
| 92660ef7de |
@@ -250,11 +250,10 @@ func (this AttrOverflow) Equals (other Attr) bool {
|
||||
}
|
||||
// Equals returns true if both attributes can reasonably be declared equal.
|
||||
func (this AttrLayout) Equals (other Attr) bool {
|
||||
if other, ok := other.(AttrLayout); ok {
|
||||
return this == other
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
// for some goofy reason if we try to compare two AttrLayouts we get a
|
||||
// fucking runtime error????? its probably for the best anyways because
|
||||
// two layouts cannot "reasonably" be declared equal
|
||||
return false
|
||||
}
|
||||
|
||||
// AttrNumber returns the number of an attribute. Each attribute type has a
|
||||
|
||||
Reference in New Issue
Block a user