add range constraint type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Milestone 5: ranges and sequence for loops.
|
||||
|
||||
pass :: func(value int) int {
|
||||
pass :: func(value range) range {
|
||||
return value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user