Created
March 19, 2016 16:27
-
-
Save thinca/df29add73265adf7cb65 to your computer and use it in GitHub Desktop.
test funcref in dict
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let dict = {} | |
function! dict.func1() abort | |
endfunction | |
let dict.func2 = dict.func1 | |
echo assert_true(dict.func1 == dict.func2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment