mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: check deprecated functions
This commit is contained in:
@@ -1307,7 +1307,8 @@ pub fn (s string) limit(max int) string {
|
||||
|
||||
[deprecated]
|
||||
pub fn (c byte) is_white() bool {
|
||||
panic('Use `string.is_space` instead of `string.is_white')
|
||||
eprintln('warning: `string.is_white` has been deprecated, use `string.is_space` instead')
|
||||
return c.is_space()
|
||||
}
|
||||
|
||||
pub fn (s string) hash() int {
|
||||
|
||||
Reference in New Issue
Block a user