on master help sign in
Fix bug in Element module: using unbound variables. Need to make compiler check for this!
commit1b3480a522fb61d87757016a921c2b2bd390bc6e authorevancz <info@elm-lang.org> dateWed 13 Mar 2013, 10:31 (14 years ago) parent152ef51
1 file changed+1−1
libraries/Graphics/Element.elm+1−1
libraries/Graphics/Element.elm+1−1
@@ -101,7 +101,7 @@ beside lft rht = newElement (widthOf lft + widthOf rht) (max (heightOf lft) (hei
101101layers es =
102102 let ws = List.map widthOf es
103103 hs = List.map heightOf es
104− in newElement (List.maximum w) (List.maximum h) (Flow DOut es)
104+ in newElement (List.maximum ws) (List.maximum hs) (Flow DOut es)
105105
106106
107107-- Repetitive things --